This is an open forum for any mojoPortal topics that don't fall into the other categories.
Hi,
As far as I can see it is only the Administrator that handle users in the Administrator page. If I need a lesser role(own created) to be able to add user accounts under a specific role, how do I do this?
I suppose that there is no finish code for this ? Say that I create a usercontrol where it is possible to put in the accountinformation, is it then possible to use some built in method in MojoPortal to create the user or should my usercontrol do a call to the Mojo database without involving Mojo?
BestRegards
Look under Administration > Site Settings > Security > Permissions
you will find a setting for Roles that can create users. Members of this role will see an "Add New User" link on the Member List page.
Hope it helps,
Joe
Okay, but how does roles come in to this? I can decide whitch roles that can create users, but how do I decide what roles these users will have? Its not a good idee to let this role(that can create userers) be able to set a user to example Administrator. I need to set that this role can only create users with a specific role, how do I do that?
The user is created only with the "Authenticated Users" role.
The only users who can add a user to a role or change a users roles are members of Administrators or Role Administrators roles.
Can I write a script to add a new user to the system?
I'd like to make a form and write a custom procedure to add them to the portal. Can I use mp_Users_Insert? If so, can I just generate a new guid for the user guid? and what about the EmailChangeGuid?
Thanks,
Brian