Lasso Soft Inc. > Home

[ admin_currentgroups ]

Method

Returns an array of Lasso group names that the current user belongs to. Note that every user belongs to the group "ANYUSER" so this value will always be included in the array returned by this method.

An optional realm and authorization map can be specified.

  • Syntax
Admin_CurrentGroups

Admin_CurrentGroups(-realm='string')

Admin_CurrentGroups(-authorization=map)
Examples
  • Beginner

To list the groups the current user belongs to:

Use the [Admin_CurrentGroups] method. The following example lists the groups that John_Doe belongs to.

Code

Admin_CurrentGroups

Result

array(ANYUSER, ADMINISTRATORS)

Recent Comments

No Comments found

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