Retrieve information for a user
/api/v1/user/info?user=user&vdc=controller-name
Username
Name of the target virtual data center
synchronous
GET
Retrieve information for a user named test@CA.com.
GET http://192.168.123.200/api/v1/user/info?user=test@CA.com&vdc=mygrid
<user> <id>test@CA.com</id> <comment></comment> <realname></realname> </user>
{
"user" : {
"realname" : "",
"comment" : "",
"id" : "test@CA.com"
}
}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (user). - Argument user=username missing in the request.
unknown@CA.NOSPAM.com does not exist. - Invalid user specified in the request.
|
Copyright © 2012 CA.
All rights reserved.
|
|