Lasso Soft Inc. > Home

[Admin_GroupListUsers]

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

  • Syntax
  • Parameters
[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.
Examples

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']
Result:
(Array: (John Doe))
Tag Link [Admin_GroupListUsers] 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