--- title: "userExecute (Command)" slug: "oas-fullsdk-soapref-userexecute-command-3-29" updated: 2026-07-02T14:46:51Z published: 2026-07-02T14:46:51Z canonical: "docs.onespan.com/oas-fullsdk-soapref-userexecute-command-3-29" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # userExecute (Command) > Scenario: Administration > > Support: full-sdk The userExecute command executes user–related administrative operations. | Command | Description | | --- | --- | | USERCMD_ASSIGN_ADMIN_ROLES | Assigns one or more administrator roles to a specified user (see [USERCMD_ASSIGN_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdassignadminroles)). Availability: 3.29 and later | | USERCMD_COPY_PERMISSION | Used when performing a bulk copy of administrative privileges (see [USERCMD_COPY_PERMISSION](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdcopypermission)). | | USERCMD_CREATE | Creates a new user account (see [USERCMD_CREATE](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdcreate)). | | USERCMD_DELETE | Deletes a user account (see [USERCMD_DELETE](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmddelete)). | | USERCMD_DISABLE | Disables the user account of a specified user (see [USERCMD_DISABLE](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmddisable)). | | USERCMD_ENABLE | Enables the user account of a specified user (see [USERCMD_ENABLE](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdenable)). | | USERCMD_GET_ADMIN_DOMAINS | Returns the domains that a specified administrative user is allowed to manage (see [USERCMD_GET_ADMIN_DOMAINS](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdgetadmindomains)). | | USERCMD_GET_ASSIGNED_ADMIN_ROLES | Returns the administrator roles that are assigned to a specified user (see [USERCMD_GET_ASSIGNED_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdgetassignedadminroles)). Availability: 3.29 and later | | USERCMD_GET_DEPENDING_PERMISSION | Used when performing a bulk copy of administrative privileges. | | USERCMD_GET_PERMISSION | Returns the administrative privileges that are directly assigned to a specified user (see [USERCMD_GET_PERMISSION](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdgetpermission)). | | USERCMD_LINK_USER | Links a user to another user's authenticator (see [USERCMD_LINK_USER](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdlinkuser)). | | USERCMD_MOVE | Renames a user account or moves it to another location in the organizational structure (see [USERCMD_MOVE](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdmove)). | | USERCMD_RESET_LAST_AUTH_TIME | Resets the date and time the user was last authorized (see [USERCMD_RESET_LAST_AUTH_TIME](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdresetlastauthtime)). | | USERCMD_RESET_PASSWORD | Resets the static password for a specified user (see [USERCMD_RESET_PASSWORD](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdresetpassword)). | | USERCMD_REVOKE_ADMIN_ROLES | Unassigns one or more administrator roles from a specified user (see [USERCMD_REVOKE_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdrevokeadminroles)). Availability: 3.29 and later | | USERCMD_SET_ADMIN_DOMAINS | Specifies the domains an administrative user should be allowed to manage (see [USERCMD_SET_ADMIN_DOMAINS](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdsetadmindomains)). | | USERCMD_SET_EXPIRATION | Sets the expiry date of a user account (see [USERCMD_SET_EXPIRATION](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdsetexpiration)). | | USERCMD_SET_PASSWORD | Sets the static password for a specified user (see [USERCMD_SET_PASSWORD](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdsetpassword)). | | USERCMD_SET_PERMISSION | Sets the administrative privileges for a specified user (see [USERCMD_SET_PERMISSION](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdsetpermission)). | | USERCMD_UNLINK_USER | Unlinks a user from another user's authenticator (see [USERCMD_UNLINK_USER](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdunlinkuser)). | | USERCMD_UNLOCK | Unlocks the user account of the specified user (see [USERCMD_UNLOCK](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdunlock)). | | USERCMD_UPDATE | Updates a user account. | | USERCMD_VIEW | Displays user account information (see [USERCMD_VIEW](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdview)). | ## Parameters | Parameter name | Data type | Description | | --- | --- | --- | | sessionID | String | **Required.** The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see [logon (Command)](/sec/docs/oas-fullsdk-soapref-logon-command-3-29)). | | cmd | UserCmdIDEnum | **Required.** The operation to be executed. See [Table: userExecute commands (SOAP administration)](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#Tab_userExecuteCommands). | | attributeSet | UserAttributeSet | **Required.** A set containing zero or more attribute fields. | | adminDomainInfoList | AdminDomainList | Optional. A list of domains that an administrative user is allowed to manage (see [AdminDomainList (Data type)](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#admindomainlist-data-type). | | assignedAdminRoleInfoList | AssignedAdminRoleList | Optional. A list of administrator roles that are assigned to an administrative user (see [AssignedAdminRoleList (Data type)](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#assignedadminrolelist-data-type). Availability: 3.29 and later | | Parameter name | Data type | Description | | --- | --- | --- | | results | UserResults | Result structure containing return and status codes and a list of zero or more result attribute fields. | The following field attributes are available for the operations of this command: | Attribute name | Data type | Description | | --- | --- | --- | | USERFLD_ADMIN_LEVEL | Unsigned Integer | The administrator level of an administrative user account. Lower-level administrators cannot modify or even view administrator accounts that have an administrator level higher than their own. It has no effect on non-administrative user accounts. The administrator level cannot be set to a higher value than the user account owning the current administrative session. You cannot change the administrator level of your own user account. Supported values: 0–255 The maximum value on OneSpan Authentication Server Appliance is 100. | | USERFLD_ADMIN_PRIVILEGES | | The administrative privileges assigned to the user account. Can also be used as zero-value input parameter for a query to get a list of all (non‑)administrative users (see [Example](/sec/docs/oas-fullsdk-soapref-userquery-command-3-29#example)). | | USERFLD_ALWAYS_RETURN_AD_USER | | | | USERFLD_ASSIGNED_DIGIPASS | String | A comma-separated list of the serial numbers of the assigned authenticators and authenticator instances. This attribute is only included in the output if at least one authenticator is assigned to the respective user. The returned list is alphabetically sorted in ascending order. | | USERFLD_AUTO_EXECUTE | Boolean | Specifies whether the respective pending operation should be automatically executed on behalf of the maker administrator as soon as it is approved by the checker administrator. Effective only if maker–checker authorization is enabled. Default value: False | | USERFLD_BACKEND_AUTH | String | Supported values: - Default - None - If needed - Always | | USERFLD_CHECKER_DOMAIN | String | The domain of the administrator to approve a pending operation via maker–checker authorization. Mandatory for creating a pending operation of a maker–checker-enabled command (approve request), if maker–checker authorization is enabled. Up to 255 characters. | | USERFLD_CHECKER_USERID | String | The user ID of the administrator to approve a pending operation via maker–checker authorization. Mandatory for creating a pending operation of a maker–checker-enabled command (approve request), if maker–checker authorization is enabled. Up to 255 characters. | | USERFLD_CONFIRM_NEW_PASSWORD | String | Up to 255 characters. | | USERFLD_CREATE_TIME | DateTime | The date and time the user account object was created in the database. | | USERFLD_DESCRIPTION | String | Up to 1024 characters. | | USERFLD_DISABLED | Boolean | | | USERFLD_DOMAIN | String | Up to 255 characters. | | USERFLD_EMAIL | String | Email address Up to 64 characters. | | USERFLD_EXPIRATION_TIME | Datetime | Date and time the user account will expire. | | USERFLD_EXPIRED | Boolean | Indicates whether the user account has expired. | | USERFLD_GROUP_LIST | String | Reserved for future usage. Up to 1024 characters. | | USERFLD_HAS_ADMIN_ROLES | String | True if a user has administrator roles assigned. Availability: 3.29 and later | | USERFLD_HAS_DP | String | Supported values: - Assigned - Unassigned | | USERFLD_LAST_PASSWORD_SET_TIME | DateTime | Time the password was last set. | | USERFLD_LASTAUTH_TIME | DateTime | Time of last successful authentication. | | USERFLD_LASTAUTHREQ_TIME | DateTime | Time of last authentication request. | | USERFLD_LDAP_DN | String | Distinguished Name | | USERFLD_LOCAL_AUTH | String | Supported values: - Default. The value from the related policy is used. - None. No local authentication is performed. - Digipass Only. The user can only authenticate using the authenticator. - DIGIPASS/Password. As long as the grace period for the authenticator has not expired, the user can use either the authenticator or the static password to log in. After the grace period has expired, only authentications with an authenticator is allowed. - DIGIPASS or Password. Users can use both their authenticator or their static password to authenticate, independent of the grace period. In the context of the authentication scenario, use of this authentication mode is subject to licensing. For provisioning, this authentication mode is license-free. | | USERFLD_LOCK_COUNT | Integer | As part of the unlock procedure, the lock count will by default be set to 0. | | USERFLD_LOCKED | Boolean | | | USERFLD_LOGICAL_ADMIN_PRIVILEGES | String | Comma-separated list of the assigned administrative privileges. Each administrative privilege is specified as follows: admin_priv_name [true\|false] For a list of possible values, see [SOAP authentication (Overview)](/sec/docs/oas-fullsdk-soapref-authentication-overview-3-29). | | USERFLD_MOBILE | String | Mobile phone number Up to 64 characters. | | USERFLD_MODIFY_TIME | DateTime | Date and time of last user account update. | | USERFLD_NEW_DOMAIN | String | The new domain when using USERCMD_MOVE to move a user account. Up to 255 characters. | | USERFLD_NEW_ORGANIZATIONAL_UNIT | String | The new organizational unit when using USERCMD_MOVE to move a user account. Up to 255 characters. | | USERFLD_NEW_PASSWORD | String | Up to 255 characters. | | USERFLD_NEW_USERID | String | The new user ID when using USERCMD_MOVE to rename the user ID. When used as input parameter, no specific format is required, but any trailing or leading spaces are removed. When used as output parameter, the resolved user ID will be provided. Up to 255 characters. | | USERFLD_OFFLINE_AUTH_ENABLED | String | Supported values: - Default - Yes - No | | USERFLD_ORGANIZATIONAL_UNIT | String | Up to 255 characters. | | USERFLD_PASSWORD | String | Up to 255 characters. | | USERFLD_PENDING_OPERATION_ID | String | Exactly 8 characters. The ID for a pending operation awaiting approval via maker–checker authorization. This identifier is a case-sensitive alphanumeric 8-character string. It is automatically generated and returned; mandatory for the execution of a pending operation of a supported maker–checker-enabled command (approve request), if maker–checker authorization is enabled. | | USERFLD_PHONE | String | Phone number Up to 64 characters. | | USERFLD_RELIANT_ADMIN_PRIVILEGES | String | The list of administrative privileges depending on a specific set of administrative privileges. | | USERFLD_REQUIRED_ADMIN_PRIVILEGES | String | The list of administrative privileges that a specific set of other administrative privileges depend on. Used for administrative privilege bulk assignment. | | USERFLD_SEARCH_DOWN_OU_PATH | Boolean | Used to search for users in the specified organizational unit and child organizational units. | | USERFLD_SERVICE | Integer | If enabled, this setting converts the user into a service user. Default setting: No | | USERFLD_STATUS | Integer | Reserved for future use. | | USERFLD_SUCCESSOR_DOMAIN | String | The domain of the successor administrator when using USERCMD_DELETE to delete an administrative user account. This attribute is used together with USERFLD_SUCCESSOR_USERID. Up to 255 characters. | | USERFLD_SUCCESSOR_USERID | String | The user ID of the successor administrator when using USERCMD_DELETE to delete an administrative user account. The successor takes ownership of all items assigned that cannot be deleted and may prevent the deletion of the target user, e.g. reports, tasks, or pending operations. Up to 255 characters. | | USERFLD_TO_DOMAIN | String | | | USERFLD_TO_USERID | String | Used when searching for user accounts in a range from USERFLD_USERID to USERFLD_TO_USERID | | USERFLD_UPN | String | | | USERFLD_USE_DP_FROM_USER_DOMAIN | String | Domain of user to link to. Up to 255 characters. | | USERFLD_USE_DP_FROM_USER_ID | String | UserID of user to link to. Up to 255 characters. | | USERFLD_USE_DP_FROM_USER_LDAP_DN | String | | | USERFLD_USERID | String | The user identifier as provided by the calling application. When used as input parameter, no specific format is required, but any trailing or leading spaces are removed. When used as output parameter, the resolved user ID will be provided. Up to 255 characters. | | USERFLD_USER_INACT_DAYS | | | | USERFLD_USERNAME | String | Full username. Trailing and leading spaces are removed when a new user account is created. Up to 64 characters. | | USERFLD_VDP_DELIVERY_METHOD | String | Comma-separated string of at most two delivery methods. The delivery method for Virtual Mobile Authenticator messages. This overrides the general delivery method specified in the user policy. Supported values: - Email - SMS - Voice | | USERFLD_VDP_MDC_PROFILE | String | The Message Delivery Component (MDC) profile for Virtual Mobile Authenticator messages. This takes precedence over the MDC profile specified in the user policy. | | USERFLD_VDP_SIGN_DELIVERY_METHOD | String | Comma-separated string of at most two delivery methods. The delivery method for virtual signature messages. This overrides the general delivery method specified in the user policy. Supported values: - Email - SMS - Voice | | USERFLD_VDP_SIGN_MDC_PROFILE | String | The Message Delivery Component (MDC) profile for virtual signature messages. This takes precedence over the MDC profile specified in the user policy. | ### AdminDomainList (Data type) This data type contains a sequence (adminDomains) of administrator domain items (AdminDomainListItem). Mainly used by [USERCMD_GET_ADMIN_DOMAINS](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdgetadmindomains) and [USERCMD_SET_ADMIN_DOMAINS](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdsetadmindomains). | Element name | Data type | Description | | --- | --- | --- | | adminDomain | String | The name of a particular domain. | ### AssignedAdminRoleList (Data type) This data type contains a sequence (adminRoles) of administrator role items (AssignedAdminRolesListItem). Mainly used by commands that manage administrator role assignment ([USERCMD_ASSIGN_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdassignadminroles), [USERCMD_GET_ASSIGNED_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdgetassignedadminroles), and [USERCMD_REVOKE_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdrevokeadminroles)). | Element name | Data type | Description | | --- | --- | --- | | adminRole | String | The name of a particular administrator role. | ## Attribute options You can use different attribute options for each attribute to change the state of the attribute when required. | Attribute option | Description | | --- | --- | | masked | Used to mask the contents of visible attributes, such as passwords. | | null | Used to unset attributes | ## USERCMD_ASSIGN_ADMIN_ROLES Availability: 3.29 and later The USERCMD_ASSIGN_ADMIN_ROLES command allows you to assign one or more [administrator roles](/sec/docs/oas-ag-administrator-roles-3-29) to a specified user. Assigning an administrator role does not change any previously assigned roles. To unassign an administrator role, use the [USERCMD_REVOKE_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdrevokeadminroles) command. To create and modify administrator roles, use the [adminRoleExecute](/sec/docs/oas-fullsdk-soapref-adminroleexecute-command-3-29) command. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_USERID | Mandatory | | USERFLD_DOMAIN | Mandatory | This command also expects a list of administrator roles that should be assigned to the user account. The administrator role list is passed via the separate assignedAdminRoleInfoList parameter (see [Parameters](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#parameters)). The same user attributes used in the input parameters will always be returned by the results output parameter of this command. ### Example > Assign the Auditor and Reporter roles to user godfather: > > ```markup > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > 3JSK8cmR************************ > USERCMD_ASSIGN_USER_ROLES > > > godfather > USERFLD_USERID > > > domainA > USERFLD_DOMAIN > > > > > Auditor > Reporter > > > > > > ``` ### Requirements Required administrative privileges: - Assign Roles ## USERCMD_COPY_PERMISSION ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | | USERFLD_TO_USERID | Mandatory | | USERFLD_TO_DOMAIN | Mandatory | This command returns no result attributes. ### Additional considerations - If the target user account has privileges assigned that the source user account does not have, then the target user account will lose those privileges. - If you specify a user account that does not have any administrative privileges assigned, the command will return an error. ## USERCMD_CREATE USERCMD_CREATE creates a new user account. This command supports maker–checker authorization. The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality (Regular) | Optionality (Maker–Checker) | | --- | --- | --- | | Approve request | Execute | | USERFLD_ADMIN_LEVEL | Optional | Optional | n/a | | USERFLD_AUTO_EXECUTE | n/a | Optional | n/a | | USERFLD_BACKEND_AUTH | Mandatory | Mandatory | n/a | | USERFLD_CHECKER_DOMAIN | n/a | Mandatory | n/a | | USERFLD_CHECKER_USERID | n/a | Mandatory | n/a | | USERFLD_DESCRIPTION | Optional | Optional | n/a | | USERFLD_DISABLED | Mandatory | Mandatory | n/a | | USERFLD_DOMAIN | Mandatory | Mandatory | n/a | | USERFLD_EMAIL | Optional | Optional | n/a | | USERFLD_GROUP_LIST | Optional | Optional | n/a | | USERFLD_LOCAL_AUTH | Mandatory | Mandatory | n/a | | USERFLD_LOCKED | Mandatory | Mandatory | n/a | | USERFLD_MOBILE | Optional | Optional | n/a | | USERFLD_OFFLINE_AUTH_ENABLED | Optional | Optional | n/a | | USERFLD_ORGANIZATIONAL_UNIT | Optional | Optional | n/a | | USERFLD_PASSWORD | Optional | Optional | n/a | | USERFLD_PENDING_OPERATION_ID | n/a | n/a | Mandatory | | USERFLD_PHONE | Optional | Optional | n/a | | USERFLD_SERVICE | Optional | n/a | n/a | | USERFLD_USERID | Mandatory | Mandatory | n/a | | USERFLD_USERNAME | Optional | Optional | n/a | | USERFLD_USER_INACT_DAYS | Optional | n/a | n/a | Any trailing and leading spaces are removed from USERFLD_USERID and USERFLD_USERNAME. The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned (Regular) | Returned (Maker–Checker) | | --- | --- | --- | | Approve request | Execute | | USERFLD_ADMIN_LEVEL | Always | n/a | Always | | USERFLD_AUTO_EXECUTE | n/a | Always | n/a | | USERFLD_BACKEND_AUTH | If defined | n/a | If defined | | USERFLD_CREATE_TIME | Always | n/a | Always | | USERFLD_DESCRIPTION | If defined | n/a | If defined | | USERFLD_DISABLED | Always | n/a | Always | | USERFLD_DOMAIN | Always | n/a | Always | | USERFLD_EMAIL | If defined | n/a | If defined | | USERFLD_EXPIRED | | | | | USERFLD_GROUP_LIST | If defined | n/a | If defined | | USERFLD_HAS_DP | Always | n/a | Always | | USERFLD_LAST_PASSWORD_SET_TIME | | | | | USERFLD_LOCAL_AUTH | If defined | n/a | If defined | | USERFLD_LOCKED | Always | n/a | Always | | USERFLD_MOBILE | If defined | n/a | If defined | | USERFLD_MODIFY_TIME | Always | n/a | Always | | USERFLD_OFFLINE_AUTH_ENABLED | If defined | n/a | If defined | | USERFLD_ORGANIZATIONAL_UNIT | If defined | n/a | If defined | | USERFLD_PASSWORD | | | | | USERFLD_PENDING_OPERATION_ID | n/a | Always | n/a | | USERFLD_PHONE | If defined | n/a | If defined | | USERFLD_SERVICE | If defined | n/a | n/a | | USERFLD_STATUS | Always | n/a | Always | | USERFLD_USE_DP_FROM_USER_DOMAIN | If defined | n/a | If defined | | USERFLD_USE_DP_FROM_USER_ID | If defined | n/a | If defined | | USERFLD_USER_INACT_DAYS | If defined | n/a | n/a | | USERFLD_USERID | Always | n/a | Always | | USERFLD_USERNAME | If defined | n/a | If defined | ## USERCMD_DELETE The USERCMD_DELETE command allows you to delete user accounts. You can only delete user accounts within your own administrative scope. If the target user account has **authenticators** assigned, they are unassigned and become available again. Authenticator instances are deleted. Removable **user data**, i.e., custom user attributes, stored reports, and offline authentication data, will be deleted. The target user account can have items assigned that cannot be deleted, which prevents the deletion of the user account, e.g. reports, recurring tasks, or pending operations (maker or checker role). To delete the user account, you can specify a **successor user** who will take ownership of those items. The successor must be an administrative user account in the same domain as the user to be deleted. This command supports maker–checker authorization. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality (Regular) | Optionality (Maker–Checker) | | --- | --- | --- | | Approve request | Execute | | USERFLD_AUTO_EXECUTE | n/a | Optional | n/a | | USERFLD_USERID | Mandatory | Mandatory | n/a | | USERFLD_DOMAIN | Mandatory | Mandatory | n/a | | USERFLD_CHECKER_USERID | n/a | Mandatory | n/a | | USERFLD_CHECKER_DOMAIN | n/a | Mandatory | n/a | | USERFLD_PENDING_OPERATION_ID | n/a | n/a | Mandatory | | USERFLD_SERVICE | Optional | n/a | n/a | | USERFLD_SUCCESSOR_DOMAIN | Optional | Optional | n/a | | USERFLD_SUCCESSOR_USERID | Optional | Optional | n/a | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned (Regular) | Returned (Maker–Checker) | | --- | --- | --- | | Approve request | Execute | | USERFLD_AUTO_EXECUTE | n/a | Always | n/a | | USERFLD_PENDING_OPERATION_ID | n/a | Always | n/a | ### Requirements Required administrative privileges: - Delete User ### Additional considerations - The target user, successor user, and checker administrator must all be different user accounts. - If the target user has non-removable items assigned and you do not specify a successor user, the command will fail. - To ensure proper access to the transferred items after the deletion, the successor user should have the same administrative privileges as the user account to be deleted. This is not verified by the command. ## USERCMD_DISABLE The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_BACKEND_AUTH | | | USERFLD_CREATE_TIME | | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | | | USERFLD_DOMAIN | | | USERFLD_EMAIL | If defined | | USERFLD_EXPIRED | | | USERFLD_HAS_DP | | | USERFLD_LOCAL_AUTH | | | USERFLD_LOCK_COUNT | | | USERFLD_LOCKED | | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | | | USERFLD_PHONE | If defined | | USERFLD_STATUS | | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ## USERCMD_ENABLE The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_BACKEND_AUTH | | | USERFLD_CREATE_TIME | | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | | | USERFLD_DOMAIN | | | USERFLD_EMAIL | If defined | | USERFLD_EXPIRED | | | USERFLD_HAS_DP | | | USERFLD_LOCAL_AUTH | | | USERFLD_LOCK_COUNT | | | USERFLD_LOCKED | | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | | | USERFLD_PHONE | If defined | | USERFLD_STATUS | | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ## USERCMD_GET_ADMIN_DOMAINS The USERCMD_GET_ADMIN_DOMAINS command allows you to retrieve the domains that an administrative user is allowed to manage. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_USERID | Mandatory | | USERFLD_DOMAIN | Mandatory | The same user attributes will always be returned by the results output parameter of this command. The USERCMD_GET_ADMIN_DOMAINS command will fail under any of the following conditions: - The user specified is not an administrator. - The user specified is an administrator from the master domain. This command returns a list of domains that the administrator is allowed to manage (except for the domain of which the administrator is a member). These domains together basically define the [administrative scope](/sec/docs/oas-ag-onespan-authentication-server-administrator-accounts-3-29#administrative-scope). The domain list is returned via the adminDomainInfoList element of the results parameter (see [Parameters](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#parameters)). ## USERCMD_GET_ASSIGNED_ADMIN_ROLES Availability: 3.29 and later The USERCMD_GET_ASSIGNED_ADMIN_ROLES command allows you to retrieve the [administrator roles](/sec/docs/oas-ag-administrator-roles-3-29) that are assigned to a specified user. To assign an administrator role, use the [USERCMD_ASSIGN_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdassignadminroles) command. To create and modify administrator roles, use the [adminRoleExecute](/sec/docs/oas-fullsdk-soapref-adminroleexecute-command-3-29) command. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_USERID | Mandatory | | USERFLD_DOMAIN | Mandatory | The same user attributes will always be returned by the results output parameter of this command. The USERCMD_GET_ASSIGNED_ADMIN_ROLES command will fail if the specified user account is not an administrator. This command returns a list of administrator roles that are assigned to the user account. The administrator role list is returned via the assignedAdminRoleInfoList element of the results parameter (see [Parameters](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#parameters)). ### Requirements Required administrative privileges: - View Assigned Roles ## USERCMD_GET_DEPENDING_PERMISSION The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_LOGICAL_ADMIN_PRIVILEGES | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_REQUIRED_ADMIN_PRIVILEGE | Mandatory | | USERFLD_RELIANT_ADMIN_PRIVILEGES | Mandatory | ## USERCMD_GET_PERMISSION The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_ORGANIZATIONAL_UNIT | Optional | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_DOMAIN | Always | | USERFLD_HAS_ADMIN_ROLES | Always | | USERFLD_LOGICAL_ADMIN_PRIVILEGES | Always | | USERFLD_USERID | Always | ## USERCMD_LINK_USER The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_ORGANIZATIONAL_UNIT | Optional | | USERFLD_USE_DP_FROM_USER_ID | Mandatory | | USERFLD_USE_DP_FROM_USER_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_ASSIGNED_DIGIPASS | If defined | | USERFLD_BACKEND_AUTH | Always | | USERFLD_CREATE_TIME | Always | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | Always | | USERFLD_DOMAIN | Always | | USERFLD_EMAIL | If defined | | USERFLD_HAS_DP | Always | | USERFLD_LOCAL_AUTH | Always | | USERFLD_LOCK_COUNT | If defined | | USERFLD_LOCKED | Always | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | Always | | USERFLD_ORGANIZATIONAL_UNIT | If defined | | USERFLD_PASSWORD | Always | | USERFLD_PHONE | If defined | | USERFLD_STATUS | Always | | USERFLD_USE_DP_FROM_USER_DOMAIN | Always | | USERFLD_USE_DP_FROM_USER_ID | Always | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ## USERCMD_MOVE The USERCMD_MOVE command can be used to move user accounts from one organizational unit to another (USERFLD_NEW_ORGANIZATIONAL_UNIT) or from one domain to another (USERFLD_NEW_DOMAIN). It can also be used to change the user id (USERFLD_NEW_USERID). You can even change the organizational unit, domain, and the user ID with one call if you specify all respective parameters at the same time. You can only move user accounts within your own administrative scope. You cannot use this command to move the user account owning the current administrative session. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_NEW_DOMAIN | Optional | | USERFLD_NEW_ORGANIZATIONAL_UNIT | Optional | | USERFLD_NEW_USERID | Optional | | USERFLD_USERID | Mandatory | USERFLD_NEW_DOMAIN, USERFLD_NEW_ORGANIZATIONAL_UNIT, and USERFLD_NEW_USERID are all optional, but at least one of them must be specified. Any trailing and leading spaces are removed from USERFLD_NEW_USERID. The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_DOMAIN | Always | | USERFLD_NEW_DOMAIN | If defined | | USERFLD_NEW_ORGANIZATIONAL_UNIT | If defined | | USERFLD_NEW_USERID | If defined | | USERFLD_ORGANIZATIONAL_UNIT | Always | | USERFLD_USERID | Always | ### Example > Move a user account from the master domain to another domain and another organizational unit in one step: > > ```markup > > > > > u-i1U0_TrqlNg~l|_yhnIIdREy1UGla] > USERCMD_MOVE > > > jane.doe > USERFLD_USERID > > > master > USERFLD_DOMAIN > > > myDomainA > USERFLD_NEW_DOMAIN > > > myOU > USERFLD_NEW_ORGANIZATIONAL_UNIT > > > > > > ``` > Rename a user account: > > ```markup > > > > > 66h.0T_6|ot4hm27nIMUE-ma941oBQl7 > USERCMD_MOVE > > > johnny.doe > USERFLD_USERID > > > domainA > USERFLD_DOMAIN > > > john.doe > USERFLD_NEW_USERID > > > > > > ``` ### Requirements Required administrative privileges: - Move User ### Additional considerations - When moving a user account, the respective target organizational unit or target domain must already exist. - When moving a user account with administrative privileges from one domain to another one, the assigned administrative privileges are retained. However, the administrative scope will be adapted accordingly from the source domain to the target domain. Other domains in the administrative scope will not be affected. - When moving a user account with administrative privileges **down in the organizational hierarchy**, the assigned administrative privileges are retained, except for any privileges that no longer apply to the respective hierarchy level. - Moving a global administrator account from the master domain to another domain effectively demotes it to a delegated administrator account. The administrative scope is reduced to the target domain. The following administrative privileges are revoked: - Access Data in All Domains - Create Domain - Delete Domain - Moving a domain administrator account to an organizational unit effectively demotes it to an organizational unit administrator account. The administrative scope is reduced to the target organizational unit. The following administrative privileges are revoked: - Access Domain - Set Administration Domains - Update Domains - When moving a user account with administrative privileges **up in the organizational hierarchy**, the assigned administrative privileges are retained, but **no additional** administrative privileges are assigned. - Moving an organizational unit administrator to a domain changes the administrative scope to the target domain. The user account is **not** automatically assigned domain administrative privileges! - Moving a delegated administrator from a domain to the master domain changes the administrative scope to the master domain. The user account is **not** automatically promoted to a global administrator! - When moving a user account with assigned authenticators to another domain or organizational unit, the assigned authenticators are moved along with the user account. - When moving or renaming a user account with an assigned authenticator with generated offline authentication data (OAD), the existing offline authentication data is invalidated and will be deleted on the server. Upon the next online authentication with the updated user account, new offline authentication data will be generated and retrieved from the server. - Any user accounts linked to the user account being moved are not moved along, but remain in their original domain and/or organizational unit. ## USERCMD_RESET_LAST_AUTH_TIME The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | This command returns no result attributes. ## USERCMD_RESET_PASSWORD ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_DESCRIPTION | If defined | | USERFLD_EMAIL | If defined | | USERFLD_MOBILE | If defined | | USERFLD_PHONE | If defined | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ### Additional considerations If you use this command to reset the static password of a user account and the [Invalidate Sessions on Password Change](/sec/docs/oas-was-csh-ux-servers-global-configuration-administration-3-29) option is enabled, any interactive administrative session of that user account that is currently active is expired (except for the session that initiates the command if applicable). ## USERCMD_REVOKE_ADMIN_ROLES Availability: 3.29 and later The USERCMD_REVOKE_ADMIN_ROLES command allows you to unassign one or more [administrator roles](/sec/docs/oas-ag-administrator-roles-3-29) from a specified user. To assign an administrator role, use the [USERCMD_ASSIGN_ADMIN_ROLES](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#usercmdassignadminroles) command. To create and modify administrator roles, use the [adminRoleExecute](/sec/docs/oas-fullsdk-soapref-adminroleexecute-command-3-29) command. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_USERID | Mandatory | | USERFLD_DOMAIN | Mandatory | This command also expects a list of administrator roles that should be unassigned from the user account. The administrator role list is passed via the separate assignedAdminRoleInfoList parameter (see [Parameters](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#parameters)). The same user attributes used in the input parameters will always be returned by the results output parameter of this command. ### Example > Revoke the Auditor role from user godfather: > > ```markup > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > 3JSK8cmR************************ > USERCMD_REVOKE_USER_ROLES > > > godfather > USERFLD_USERID > > > domainA > USERFLD_DOMAIN > > > > > Auditor > > > > > > ``` ### Requirements Required administrative privileges: - Revoke Roles ## USERCMD_SET_ADMIN_DOMAINS The USERCMD_SET_ADMIN_DOMAINS command allows you to specify the domains an administrative user should be allowed to manage. ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_USERID | Mandatory | | USERFLD_DOMAIN | Mandatory | This command also expects a list of domains that the administrator should be allowed to manage, in addition to the domain of which the administrator is a member. These domains together basically define the [administrative scope](/sec/docs/oas-ag-onespan-authentication-server-administrator-accounts-3-29#administrative-scope). The domain list is passed via the separate adminDomainInfoList parameter (see [Parameters](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#parameters)). The same user attributes used in the input parameters will always be returned by the results output parameter of this command. ### Example > An administrator was created in domainb and is already allowed to manage domaind. The following domain list will add that administrator to both domaina and domainc: > > ```markup > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > 3JSK8cmR************************ > USERCMD_SET_ADMIN_DOMAINS > > > godfather > USERFLD_USERID > > > domainA > USERFLD_DOMAIN > > > > > domaina > domainc > > > > > > ``` In this example, the administrator would become an administrator for the domains domaina, domainb, and domainc, and will no longer be an administrator for domaind. The USERCMD_SET_ADMIN_DOMAINS command will fail under any of the following conditions: - The user specified is not an administrator. - The user specified is an administrator from the master domain. - The administrator running the command does not have domain scope over any specified domain. - The administrator and user specified are the same. ## USERCMD_SET_EXPIRATION The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_EXPIRATION_TIME | Mandatory | | USERFLD_USERID | Mandatory | This command returns no result attributes. To reset the expiration date and time, use the null attribute option (see [Attribute options](/sec/docs/oas-fullsdk-soapref-userexecute-command-3-29#attribute-options)). ## USERCMD_SET_PASSWORD ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_CONFIRM_NEW_PASSWORD | Mandatory | | USERFLD_DOMAIN | Mandatory | | USERFLD_NEW_PASSWORD | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_DESCRIPTION | If defined | | USERFLD_EMAIL | If defined | | USERFLD_MOBILE | If defined | | USERFLD_PHONE | If defined | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ### Additional considerations If you use this command to set the static password of a user account and the [Invalidate Sessions on Password Change](/sec/docs/oas-was-csh-ux-servers-global-configuration-administration-3-29) option is enabled, any interactive administrative session of that user account that is currently active is expired (except for the session that initiates the command if applicable). ## USERCMD_SET_PERMISSION The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_LOGICAL_ADMIN_PRIVILEGES | Mandatory | | USERFLD_ORGANIZATIONAL_UNIT | Optional | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_DOMAIN | Always | | USERFLD_LOGICAL_ADMIN_PRIVILEGES | Always | | USERFLD_USERID | Always | ## USERCMD_UNLINK_USER The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_ORGANIZATIONAL_UNIT | Optional | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_ASSIGNED_DIGIPASS | If defined | | USERFLD_BACKEND_AUTH | Always | | USERFLD_CREATE_TIME | Always | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | Always | | USERFLD_DOMAIN | Always | | USERFLD_EMAIL | If defined | | USERFLD_HAS_DP | Always | | USERFLD_LOCAL_AUTH | Always | | USERFLD_LOCK_COUNT | If defined | | USERFLD_LOCKED | Always | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | Always | | USERFLD_ORGANIZATIONAL_UNIT | If defined | | USERFLD_PHONE | If defined | | USERFLD_PASSWORD | Always | | USERFLD_STATUS | Always | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ## USERCMD_UNLOCK As part of the unlock procedure, the User Lock Count will be set to 0. The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_BACKEND_AUTH | | | USERFLD_CREATE_TIME | | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | | | USERFLD_DOMAIN | | | USERFLD_EMAIL | If defined | | USERFLD_EXPIRED | | | USERFLD_HAS_DP | | | USERFLD_LOCAL_AUTH | | | USERFLD_LOCK_COUNT | | | USERFLD_LOCKED | | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | | | USERFLD_PHONE | If defined | | USERFLD_STATUS | | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined | ## USERCMD_UPDATE ### Parameters The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_ADMIN_LEVEL | Optional | | USERFLD_BACKEND_AUTH | Optional | | USERFLD_DESCRIPTION | Optional | | USERFLD_DISABLED | Optional | | USERFLD_DOMAIN | Mandatory | | USERFLD_EMAIL | Optional | | USERFLD_LOCAL_AUTH | Optional | | USERFLD_LOCKED | Optional | | USERFLD_MOBILE | Optional | | USERFLD_OFFLINE_AUTH_ENABLED | Optional | | USERFLD_PASSWORD | Optional | | USERFLD_PHONE | Optional | | USERFLD_SERVICE | Optional | | USERFLD_USER_INACT_DAYS | Optional | | USERFLD_USERID | Mandatory | | USERFLD_USERNAME | Optional | | USERFLD_VDP_DELIVERY_METHOD | Optional | | USERFLD_VDP_MDC_PROFILE | Optional | | USERFLD_VDP_SIGN_DELIVERY_METHOD | Optional | | USERFLD_VDP_SIGN_MDC_PROFILE | Optional | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_ADMIN_LEVEL | Always | | USERFLD_ASSIGNED_DIGIPASS | If defined | | USERFLD_BACKEND_AUTH | Always | | USERFLD_CREATE_TIME | Always | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | Always | | USERFLD_DOMAIN | Always | | USERFLD_EMAIL | If defined | | USERFLD_LOCAL_AUTH | Always | | USERFLD_LOCK_COUNT | If defined | | USERFLD_LOCKED | Always | | USERFLD_HAS_DP | Always | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | Always | | USERFLD_OFFLINE_AUTH_ENABLED | If defined | | USERFLD_ORGANIZATIONAL_UNIT | If defined | | USERFLD_PASSWORD | Always | | USERFLD_PHONE | If defined | | USERFLD_SERVICE | If defined | | USERFLD_STATUS | Always | | USERFLD_USE_DP_FROM_USER_DOMAIN | If defined | | USERFLD_USE_DP_FROM_USER_ID | If defined | | USERFLD_USER_INACT_DAYS | If defined | | USERFLD_USERID | Always | | USERFLD_USERNAME | Always | | USERFLD_VDP_DELIVERY_METHOD | If defined | | USERFLD_VDP_MDC_PROFILE | If defined | | USERFLD_VDP_SIGN_DELIVERY_METHOD | If defined | | USERFLD_VDP_SIGN_MDC_PROFILE | If defined | ### Additional considerations If you use this command to update the static password of a user account and the [Invalidate Sessions on Password Change](/sec/docs/oas-was-csh-ux-servers-global-configuration-administration-3-29) option is enabled, any interactive administrative session of that user account that is currently active is expired (except for the session that initiates the password change if applicable). ## USERCMD_VIEW The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | USERFLD_DOMAIN | Mandatory | | USERFLD_USERID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | USERFLD_ADMIN_LEVEL | Always | | USERFLD_ASSIGNED_DIGIPASS | If defined | | USERFLD_BACKEND_AUTH | Always | | USERFLD_CREATE_TIME | Always | | USERFLD_DESCRIPTION | If defined | | USERFLD_DISABLED | Always | | USERFLD_DOMAIN | Always | | USERFLD_EMAIL | If defined | | USERFLD_EXPIRED | Always | | USERFLD_GROUP_LIST | If defined | | USERFLD_HAS_DP | Always | | USERFLD_LASTAUTHREQ_TIME | If defined | | USERFLD_LOCAL_AUTH | Always | | USERFLD_LOCK_COUNT | If defined | | USERFLD_LOCKED | Always | | USERFLD_MOBILE | If defined | | USERFLD_MODIFY_TIME | Always | | USERFLD_OFFLINE_AUTH_ENABLED | If defined | | USERFLD_ORGANIZATIONAL_UNIT | If defined | | USERFLD_PHONE | If defined | | USERFLD_STATUS | Always | | USERFLD_SERVICE | If defined | | USERFLD_USE_DP_FROM_USER_DOMAIN | If defined | | USERFLD_USE_DP_FROM_USER_ID | If defined | | USERFLD_USER_INACT_DAYS | If defined | | USERFLD_USERID | Always | | USERFLD_USERNAME | If defined |