The getUser action retrieves a map of existing user attributes from the customer’s database. If the getUser action is not defined, the adapter cannot perform any user actions.
The actionContext map contains the following entries:
The adapter expects the result map to be populated with the following entries:
Key |
Value Type |
Value Description |
---|---|---|
attrMap |
java.util.Map |
If the script is capable of directly retrieving the user attributes, then the script can set this entry with a map of the user attributes. The attribute names are defined in the Resource User Attribute column of the resource’s schema map. |
isDisabled |
java.lang.Boolean or java.lang.String |
If set by the script to a Boolean.TRUE or a true string, then the user is considered disabled. |
Any throw from within the script is considered a failure.
If the script encounters any errors, it may add appropriate strings to the errors key. The presence of any items in the errors List is considered a fetch failure.