It can also be controlled by roles. ie only let users on the admin role
access the createuser.aspx page and thus control who can create users.
i am trying to implement a similar use and the change that found
particularily helpful was to set 'LoginCreatedUser' parameter from true
to false. By default the wizard logs in as the newly created user,
which isn't the way you'd want an admin to have to create multiple new
users.
I am having trouble though specifying how to update the profile of a
specific user. By default the Profile class affects the currently
logged in user, but if i want to specify the profile that i want to
change by username i can't (haven't found a way). This came about as
the admin creates a new user and wants to add settings to their
profile. By default the profile settings are added to the admin's own
profile.
i tried profileCommon = profile.getProfile(createuserwizard.username),
but how do i set changes to this profile?
not trying to hijack the thread, just thought it was on the same topic.
RD
Peter wrote:
Dabbler,
The CreateUser wizard can be used by anyone that you decide you want to be
allowed to see it (by setting its 'visible' property for example).
If you only want Administrators to be able to use it, you would use an if /
block that checks if the User's role is Administrator, and make its visible
property "true".
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Dabbler" wrote:
Can the CreateUserWizard control be used by an administrator, e.g. someone
setting up membership users but not the end user?
Thanks.