LassoScript Utility
Basics Browse Detail


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


[Auth_Group] checks the current authentication values which were sent with the HTTP header. The tag requires one parameter which is the name of a group in Lasso security. If the current user belongs to that group then the page continues serving normally.

Otherwise, the visitor is prompted with an authentication dialog. They will not be able to see the format file which contains this tag unless they provide the specified username and password.

The optional realm parameter will be used by the client's Web browser to identify how the username and password will be used. If the same realm parameter is used on multiple pages the browser will re-transmit the username and password automatically without re-prompting the client. The realm defaults to 'Lasso Security'.

The [Auth_Group] tag will usually be one of the first tags in a format file.

The group can alternately be specified as an array. If the current user belongs to any one of the groups listed then they will be allowed to view the page. If the group parameter is omitted then a user who belongs to any group other than "Any User" will be allowed to view the page.


[Auth_Group: 'groupname']

[Auth_Group: (Array: 'group1', 'group2')]


Required Parameters
'Group name' The name of the Lasso security group to authenticate against.
Optional Parameters
-Realm The name of the realm which will be shown to the visitor in the browser authentication dialog. Defaults to "Lasso Security".
-NoAbort If specified then the tag will not [Abort] after altering the HTTP header.


To restrict a page to users in a specific Lasso group:

Use the [Auth_Group] tag with the name of the desired group as a parameter. Each visitor will need to enter a username and password that belongs to the specified Lasso group in order to view the contents of the Web page.

[Auth_Group: 'Lasso_Group_Name']