Lasso Soft Inc. > Home

[Admin_GroupAssignUser]

[Admin_GroupAssignUser] assigns a user to a group. This tag can be called by a group administrator for the specified group or by the global administrator.

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.

  • Syntax
  • Parameters
[Admin_GroupAssignUser: 'Groupname', 'Username']
Required Parameters
Groupname The name of the group to which the user should be assigned.
Username The name of the user which should be assigned to the group.
Examples

To assign a user to a group:

Use the [Admin_GroupAssignUser] tag with the name of the group and the name of the user who should be assigned to the group. The following examples adds a user JohnDoe to the group Accounting.

[Admin_GroupAssignUser: 'Accounting', 'JohnDoe']
Result:
True
Tag Link [Admin_GroupAssignUser] Category Admin
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type Boolean Security Tag
Implementation Internal Sets 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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft