Equinox Online Help - Language Reference - A to Z

Home

NextUserGroup

Applies to
SyntaxNextUserGroup GroupNameItem
Action[Statement] Determines the next user group in an application after a FirstUserGroup call.
ScopeUsable anywhere.
Notes

This statement is always used after FirstUserGroup to determine the names of user groups within an application. GroupNameItem will contain the next 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, FirstUserGroup, FirstUserName, NextUserGroup, NextUserName
Example

This example outputs the names of all user groups within an application.

string GName

FirstUserGroup GName
Print "User groups in this Application: "

while not syserror
Print GName
NextUserGroup GName
end while