[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']
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')]
True
Tag Link | [Admin_CreateUser] | Category | Admin |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Boolean | Security | Tag |
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.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft