To fetch the user details using their account information, you must use the listUsersForAccount operation. This section walks you through the following steps for fetching the user information based on the user accounts:
The following table lists the elements of the listUsersForAccountRequest message.
|
Element |
Mandatory |
Description |
|
|---|---|---|---|
|
orgName |
No |
The name of the organization to which the user belongs. Note: If the organization name is not passed, then the Default Organization is used for the operation. |
|
|
accountType |
No |
The attribute that qualifies the account ID and provides additional context about the usage of the account ID. |
|
|
Note: The accountID and accountIDAttribute elements are optional, but you must pass at least one element. |
|||
|
accountID |
No |
The alternate identifier used to identify the user in addition to the user name. The account ID is also known as account. |
|
|
accountIDAttribute |
No |
The alternate identifier used to identify the user in the system. Note: You cannot pass more than three account ID attributes for a user. |
|
|
filter/includeImage |
No |
The flag to indicate whether the user image has to be retrieved or not. Supported values are:
|
|
|
filter/includeAccounts |
No |
The flag to indicate whether the user accounts have to be retrieved or not. Supported values are:
|
|
|
clientTxId |
No |
The unique transaction identifier that your calling application can include. This identifier helps in tracking the related transactions. |
|
To fetch the user details using their account information:
This operation returns the listUsersForAccountResponse message that includes the transaction identifier, authentication token, and user details. See the following section for more information on the response message.
The response message, listUsersForAccountResponse, returns the transaction identifier and the authentication token in the SOAP envelope header. The SOAP body includes the user details for a successful transaction and the Fault response for an error condition.
See the following table for more information on the elements returned for a successful transaction. Refer to appendix, "Exceptions and Error Codes" if there are any errors.
|
Element |
Description |
|
|---|---|---|
|
Header Elements |
||
|
udsTransactionID |
The unique identifier of the transaction performed by using UDS. |
|
|
authToken |
The authentication token that is returned if the credential verification to access the Web service was successful. This token eliminates the need for you to present the authentication credential for successive access to the Web service. By default, the authentication token is valid for one day, after which you need to authenticate again. |
|
|
Body Elements |
||
|
userId/orgName |
The name of the organization to which the user belongs. |
|
|
userId/userName |
The unique identifier with which the user is identified in the system. |
|
|
userId/userRefId |
The identifier used as a reference to track different operations performed by a user. |
|
|
dateCreated |
The timestamp when the user was created in the system. |
|
|
dateModified |
The timestamp when the user details were last modified. |
|
|
emailId |
The email ID of the user that has been registered. If multiple email IDs are configured for the user, then all email IDs are fetched. |
|
|
telephoneNumber |
The telephone number of the user that has been registered. If multiple telephone numbers are configured for the user, then all numbers are fetched. |
|
|
firstName |
The first name of the user. |
|
|
middleName |
The middle name of the user. |
|
|
lastName |
The last name of the user. |
|
|
pam |
The Personal Assurance Message (PAM) displayed to the user, when they try to access a resource protected by RiskMinder. |
|
|
pamImageURL |
The URL that contains the image displayed to the user when they try to access a resource protected by RiskMinder. |
|
|
image |
The picture that the user wants to upload to identify themselves. |
|
|
status |
The status of the user:
|
|
|
customAttribute |
The additional user information that you want to pass as a name-value pair.
|
|
|
startLockTime |
The timestamp when the user has to be deactivated. |
|
|
endLockTime |
The timestamp when the deactivated user has to be activated. |
|
|
account/accountType |
The attribute that qualifies the account ID and provides additional context about the usage of the account ID. |
|
|
account/accountID |
The alternate identifier used to identify the user in addition to the user name. The account ID is also known as account. |
|
|
account/accountStatus |
The status of the account:
|
|
|
account/accountIDAttribute |
The alternate identifier used to identify the user in the system. |
|
|
account/dateCreated |
The timestamp when the account ID was created. |
|
|
account/dateModified |
The timestamp when the account ID was last modified. |
|
|
account/accountCustomAttribute |
The additional account information that you want to pass as a name-value pair.
|
|
|
Copyright © 2013 CA.
All rights reserved.
|
|