LassoScript Utility
Basics Browse Detail


Tag Link [Admin_ListGroups] 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_ListGroups] returns an array of all the groups which can be administered by the current user.

Returns an array of group names or False if the current user cannot administer any groups.

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_ListGroups: -Username='Administrator Username', -Password='Administrator Password']


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 all the groups which the current user can administer:

Use the [Admin_ListGroups] tag. The following example shows that the current user can administer the Accounting group.


(Array: (Accounting))