Restriction: This topic applies only when the Enterprise Server feature is enabled.
Description
Add a new user/modify an existing user.
Required parameters
- USER=username
- Name of the user to add or change.
Required by standard MF LDAP schema for ADDUSER:
- ALLOW=TRUE|FALSE
- Whether user can sign on.
Note: The
TRUE|FALSE values must be in block capitals as shown.
Optional:
- NAME=display name
- User’s display name.
- DESC=description
- Description text.
- DEFGROUP=group name
- Default group.
- EXPIRES=yyyymmdd
- Account expiration date.
The date format depends on the ESM in use. With the MLDAP ESM, you need to use the date format required by the LDAP server.
You need to check to determine what this format is.
For example:
EXPIRES=YYYYMMDDHHMMSS.0Z
where
0Z represents the GMT zone.
- PASSWORD=string
- Password (will be stored as MF-A2 argon2 verifiers). The PASSWORD attribute is supported for ADDUSER only. To change an existing user's password, use the SETPASSWORD sub-command.
- PASSEXP=<date>
-
Password expiration date.
The date format depends on the ESM in use. With the MLDAP ESM, you need to use the date format required by the LDAP server.
You need to check to determine what this format is.
For example:
PASSEXP=YYYYMMDDHHMMSS.0Z
where
0Z represents the GMT zone.
- PASSCHG=TRUE|FALSE
- Whether user must change password.
Note: The
TRUE|FALSE values must be in block capitals as shown.
- GETTOKEN=none|self|any
- Permission to create passtokens.
- USETOKEN=none|self|any
- Permission to use passtokens.
- CUSTOM=string
- Custom text (not used by Micro Focus).
- UID=string
- Unique ID. If not supplied, one is generated automatically.