Lasso Soft Inc. > Home

[Admin_ListGroups]

[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.

  • Syntax
  • Parameters
[Admin_ListGroups]

[Admin_ListGroups: -Username='Administrator Username', -Password='Administrator Password']
Optional Parameters
-Username Optional administrator username.
-Password Optional administrator password.
Examples

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.

[Admin_ListGroups]
Result:
(Array: (Accounting))
Tag Link [Admin_ListGroups] Category Admin
Type Substitution Data Source Any
Support Preferred Version 5.0
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

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