LassoScript Utility
Basics Browse Detail


Tag Link [Admin_CreateUser] Category Administration
Type Substitution Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type Boolean Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0


[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']


Required Parameters
New Username The username for the user to be created.
New Password The password for the user to be created.
Optional Parameters
-Password Optional administrator password.
-Username Optional administrator username.

Change Notes

The -Username and -Password parameters were added in Lasso Professional 8.1.


To create a new user using values supplied from a form:

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')]