ASP.NET user role management

ASP.NET has a role management function. It works on the local development machine.

For our project, we need the client administrator to be able to create new users and manage their roles. So basically the same as aspnet_regsql.exe does.

Question: Should we design our own pages and forms or use a ready-made tool?

Thank!

+3
source share
4 answers

Sounds like you need SqlRoleProvider .

You can also connect your own role provider (and membership provider). See Practical Guide. Provider Role Implementation Example

0

: MSDN.

this -?

: alt text

0

, / .

, , :

Microsoft ASP.NET 2.0 / IIS, 2:

There was a small error in the ToggleInRole_Click method, which I had to configure (I can give you a fix if you want), but other than that, it worked well.

0
source

Source: https://habr.com/ru/post/1743157/


All Articles