Changing the state of a user
To change the account state for users:
- Use the PutProvisioningData operation.
To change the account state for users and return an identifier set for each user:
- Use the PutProvisioningDataAndGetIdentifierSets operation.
Note: Use PutProvisioningDataAndGetIdentiferSets if the returned identifier sets are used within the client. The operation is significantly slower than PutProvisioningData.
Usage—for both operations:
- Specify one or more MedML <USER> elements with existing USERNAME values and updated ACTIVESTATE and DELETESTATE values.
- The user account state follows the same business logic as the InForm user interface:
- An ACTIVESTATE value of “true” sets a user status to Active, and a value of “false” sets a user status to Inactive.
- A DELETESTATE value of “true” sets the user to Terminated.
- The USERNAME value is case-sensitive and must match exactly as described in Updating users.