Membership API Controls - Manage Roles and Users

  • Thread starter Thread starter Steven Nagy
  • Start date Start date
S

Steven Nagy

Hi all,

I'm getting across the membership API stuff.
However it seems that we would have benefitted from some extra
controls for "Manage Users" and "Manage Roles".

Is there some additional controls for this somewhere? Perhaps some 3rd
party free ones?
Seems like the login toolbox is a little "incomplete" to me.

Cheers,
Steven
 
The API is easy enough to use on your own without additional
"administrative" controls. The focus of the Membership and Profile APIs is a
"help yourself" type of scenario. I agree that it could be improved with
other implementations, but it is not that hard to work around.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
 
It is pretty easy like Cowboy says:

Get all roles:
Return Roles.GetAllRoles

Get users in a role
Roles.GetUsersInRole(roleName)

Add user to a role
Roles.AddUserToRole(user, role)

Remove a user from a role
Roles.RemoveUserFromRole(user, role)

HTH
S
 
Thanks guys.
I knew it would be easy.
I'm just wondering why MS opted to create a login control,
registration form, etc since it is that easy.
I guess I'm asking "Why both creating any controls if you're not going
to create them all?"

Cheers,
Steven
 
Back
Top