LassoScript Utility
Basics Browse Detail


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


[Admin_GroupListUsers] lists the users who belong to a group. The tag requires one parameter which is the name of a group.

The tag returns an array of usernames or False if the group does not exist.

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_GroupListUsers: 'Groupname']

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


Required Parameters
Groupname The group which should have its users listed.
Optional Parameters
-Username Optional administrator username.
-Password Optional administrator password.

Change Notes

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


To list the users who belong to a group:

Use the [Admin_GroupListUsers] tag. The following tag lists the users who belong to the group Accounting.

[Admin_GroupListUsers: 'Accounting']

(Array: (John Doe))