Equinox Online Help - Language Reference - A to Z

Home

UserCreate

Applies to
SyntaxUserCreate login, name [, password, usergroup, category, userexpirydate, passwordexpirydate, flags]
ActionAllows the user to create new Equinox users via the method language
ScopeUsable anywhere
Notes

UserExpiryDate and PasswordExpiryDate operate as in the interactive user management dialog.

The flags parameter, if present, must set values for the following, or zero for no action.

  • Add 1 to flags to activate password never expires
  • Add 2 to flags to activate force password change
  • Add 4 to flags to check the user name and fail if it already exists.
  • Add 8 to flags to check the login name and fail if it contains anything except characters or numbers.
    CategoryUser, groups and ESS
    See Also ChangePassword, FirstUserGroup, FirstUserName, NextUserGroup, NextUserName, SetUserGroup, UserAccountExpiry, UserDelete, UserDetails, UserGroup, UserName, UserPasswordExpiry, UserPermission
    Example

    This example creates a user John Smith with a login of JS and a password of w3Ujdsa8

    UserCreate “JS”, “John Smith”, “w3Ujdsa8”,, 1
    if syserror then print “JS not Created!”