Equinox Online Help - Language Reference - A to Z

Home

UserDetails

Applies to
SyntaxUserDetails LoginName [, FullName, UserGroup, Category, UserExpiryDate, PasswordExpiryDate, LastAccessDate, Flags]
ActionReturns details of a specified user
ScopeUsable anywhere
Notes

LoginName must be the value returned from First/NextUserName or a string set explicitly in the method. All other parameters are optional.

[FullName], and [UserGroup] are string which will contain the user's full name and the name of the user group to which it is assigned.

[Category] is a number as follows:

  • 0 Normal User
  • 1 Application Tester
  • 2 Developer

[UserExpiryDate] will contain the date (if any) that the user will expire.

[PasswordExpiryDate] will contain the date (if any) that the user's password will expire.

[LastAccessDate] will contain the date the user last accessed the application.

[Flags] will contain a number as follows

  • 0 No options set
  • 1 The user's password is set to never expire
  • 2 The user's password is set to force a change on next login
  • 3 1 plus 2.
CategoryUser, groups and ESS
See Also ChangePassword, FirstUserGroup, FirstUserName, UserCreate, NextUserGroup, NextUserName, SetUserGroup, UserAccountExpiry, UserDelete, UserGroup, UserName, UserPasswordExpiry, UserPermission
Example
string login, name, group
int cat, flags
date uexp, pexp, lacc

PrintDevice ""
FirstUserName login

while not SysError
UserDetails login, name, group, cat, uexp, pexp, lacc, flags

if SysError then print "!! Error !!"

print "Login '"; login; "' Name '"; name; "' Group '"; group; "' Category", cat, "User expiry'"; uexp; "' Password expiry '"; pexp;"'Last Access'"; lacc; "' Flags", flags

NextUserName login
end while