Link to home
Start Free TrialLog in
Avatar of caoimhincryan
caoimhincryan

asked on

CreateUserWizard Add to role

Hi,

When I to add a user to my system using CreateUserWizard, I want the user to be added to the role Administrators I created.

I have it set that the AddUser aspx page can only be accessed by an Administrator so only an administrator can add another administrator.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of sajain84
sajain84
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of caoimhincryan
caoimhincryan

ASKER

Perfect.Thanks.
Thanks.That worked. Do you know is it possible to set a user as active or inactive from an aspx page? Try get something similar like in the asp.net configuration page under security?

I have asked another question if you want to have a look...

https://www.experts-exchange.com/questions/23816104/Set-user-as-active-or-inactive.html