[Admin_CreateUser] creates a new user. The tag requires two parameters: the name of the user to be created and the password for the new user.
The result is True if the user is created successfully. The result is False if the user could not be created or if the user already exists.
This tag can be called by a group administrator or by the global administrator. The tag can either be called on a page that has been authenticated using an [Auth_...] tag or accepts optional -Username and -Password parameters to authenticate the tag. The tag cannot be used within [Inline] ... [/Inline] tags that authenticate as an administrator.
[Admin_CreateUser: 'Username', 'Password'] [Admin_CreateUser: 'Username', 'Password', -Username='Administrator Username', -Password='Administrator Password']
|New Username||The username for the user to be created.|
|New Password||The password for the user to be created.|
|-Username||Optional administrator username.|
|-Password||Optional administrator password.|
Use the [Admin_CreateUser] tag. The following example creates a new user using values supplied in the Username and Password values in an HTML form.
[Admin_CreateUser: (Action_Param: 'Username'), (Action_Param: 'Password')]
|Implementation||LCAPI||Sets||Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0|
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.