Equinox Online Help - Language Reference - A to Z

Home

FirstUserGroup

Applies to
SyntaxFirstUserGroup GroupNameItem
Action[Statement] Returns the first user group in an application
ScopeUsable anywhere
Notes

This statement is normally used in conjunction with NextUserGroup to determine the names of user groups within an application. The string variable passed to the statement as the GroupName parameter, will contain the first group.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero

CategoryUser, groups and ESS
See Also ChangeRecordGroup, CurrentRecordGroup, FieldPermissions, FirstUserName, NextUserGroup, NextUserName, RecordPermissions, SetUserGroup, ShowRecordGroup, UserAccountExpiry, UserGroup, UserName, UserPasswordExpiry, UserPermission
Example

This example outputs the name of the first user group.

string GName

FirstUserGroup GName
Print GName