7.2

Table Of Contents
Keep-Alive = timeout=15, max=100
Connection = Keep-Alive
}
Successful
Unlinked Identity Store Error
The following output indicates that an identity store is not linked to the specied tenant. To resolve the
problem, correct the identity store and connection details in the JSON input le and rerun the command.
Command failed [Rest Error]: {Status code: 400}, {Error code: 90027} , {Error
Source: null}, {Error Msg: Cannot connect to the directory service.}, {System
Msg: 90027-Connection to directory service can’t be established}
Syntax for Searching LDAP or Active Directory for a User
You can use the vRealize Automation REST API identity service to search the congured LDAP directory,
Active Directory, or Native Active Directory for a user.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL hps://$host/identity/api/tenants/$tenantId/principals/$userId
$host Species the host name and fully qualied domain name or IP address of the
vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary credentials.
$tenantId Species the ID of the tenant.
$userId Species the ID of the user in the form name@domain.
Output
The command output contains property names and values based on the command input parameters.
Property Description
Links Species an array of link objects, each of which contains the following parts:
n
rel
Species the name of the link.
n
Self refers to the object that was returned or requested. This parameter does
not appear when you query a single prole.
n
First, Previous, Next, and Last refer to corresponding pages of pageable
lists.
n
Species the application or service that determines the other names.
n
href
Species the URL that produces the result.
@type Species the user name.
rstName Species the rst name of the user.
lastName Species the last name of the user.
description Species the description of the user.
emailAddress Species the email address of the user.
locked Species the Boolean ag indicating if the user is locked out.
Chapter 3 REST API Use Cases
VMware, Inc. 29