By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,468 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

Membership API Controls - Manage Roles and Users

P: n/a
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

Apr 12 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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!
*********************************************
"Steven Nagy" <le*********@hotmail.comwrote in message
news:11*********************@e65g2000hsc.googlegro ups.com...
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
Apr 12 '07 #2

P: n/a
SAL
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

"Steven Nagy" <le*********@hotmail.comwrote in message
news:11*********************@e65g2000hsc.googlegro ups.com...
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

Apr 12 '07 #3

P: n/a
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

Apr 12 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.