[Admin_GroupAssignUser]

Administration

Substitution

Preferred

5.0

[Admin_GroupAssignUser] assigns a user to a group. The tag requires two parameters: the name of a group and the name of a user.

The tag returns True if the assignment was successful. The tag returns False if the assignment could not be performed or if the user already belongs to the group.

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_GroupAssignUser: 'Groupname', 'Username']

[Admin_GroupAssignUser: 'Groupname', 'Username', -Username='Administrator Username', -Password='Administrator Password']

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