GetEveryoneGroupName
Description
Returns the Everyone group name.
The Everyone group includes all users and can be used for permissions that need to be granted to all users. It is often necessary to establish a baseline permission from which exceptions can then be applied. The Everyone group is defined in all new databases and implicitly contains all users.
Syntax
VBScript
session.GetEveryoneGroupName
Perl
$session->GetEveryoneGroupName
();
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- Return value
- A String containing the Everyone group name.
Examples
VBScript
set sessionObj = GetSession
' Get the everyone group name
userName = sessionObj.GetEveryoneGroupName
Perl
#Create a HCL Compass session
$sessionObj = $entity->GetSession();
#Get the everyone group name
$userName = $sessionObj->GetEveryoneGroupName();