Equinox Online Help - Language Reference - A to Z
UserGroup |
|
|---|---|
| Applies to | ![]() |
| Syntax | UserGroup (LoginNameExpression) |
| Action | [Function] Returns the user group from a particular login name. |
| Scope | Usable 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. |
| Category | User, 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") |
