Equinox Online Help - Language Reference - A to Z

Home

UserGroup

Applies to
SyntaxUserGroup (LoginNameExpression)
Action[Function] Returns the user group from a particular login name.
ScopeUsable anywhere.
Notes

The function returns a string containing the user group name of LoginNameExpression.

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

CategoryUser, groups and ESS
See Also ChangePassword, FirstUserGroup, FirstUserName, UserCreate, NextUserGroup, NextUserName, SetUserGroup, UserAccountExpiry, UserDelete, UserDetails, UserName, UserPasswordExpiry, UserPermission
Example

This example prints the user group for user "DBAXTER":

Print UserGroup("DBAXTER")