LassoScript Utility
Basics Browse Detail

[Admin_CurrentGroups]

Tag Link [Admin_CurrentGroups] Category Administration
Type Substitution Source Available Yes
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Array Security Tag
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

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

Syntax

[Admin_CurrentGroups]

Parameters

No Parameters Required.

Examples

To list the groups the current user belongs to:

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

[Inline: -Username='John_Doe', -Password='MyPassword']
[Admin_CurrentGroups]
[/Inline]