VMware Cloud Director API - GET-User

VMware Cloud Director API - GET-User

GET /admin/user/{id}

Operation:
GET /admin/user/{id}
Description:
Retrieve a user.
Since:
0.9
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
UserType

Produce media type(s):
application/vnd.vmware.admin.user+xml
application/vnd.vmware.admin.user+json
Output type:
UserType
Examples
Request
HTTP 1.1
GET /api/admin/user/3fbf0f74-b7fd-473b-b744-6b526243b6e6

Headers:
x-vcloud-authorization: 70QAyy339HyfG85ygd5pEczZIzCax6DBKoQUl/pmHZQ=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 1644
Content-Type: application/vnd.vmware.admin.user+xml; version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?>
<User
    xmlns="http://www.vmware.com/vcloud/v1.5"
    name="u1"
    id="urn:vcloud:user:3fbf0f74-b7fd-473b-b744-6b526243b6e6"
    type="application/vnd.vmware.admin.user+xml"
    href="https://vcloud.example.com/api/admin/user/3fbf0f74-b7fd-473b-b744-6b526243b6e6"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        rel="edit"
        type="application/vnd.vmware.admin.user+xml"
        href="https://vcloud.example.com/api/admin/user/3fbf0f74-b7fd-473b-b744-6b526243b6e6"/>
    <Link
        rel="rights"
        type="application/vnd.vmware.vcloud.query.references+xml"
        href="https://vcloud.example.com/api/admin/user/3fbf0f74-b7fd-473b-b744-6b526243b6e6/grantedRights"/>
    <Link
        rel="rights"
        type="application/vnd.vmware.admin.entityReferences+xml"
        href="https://vcloud.example.com/api/admin/user/3fbf0f74-b7fd-473b-b744-6b526243b6e6/entityRights"/>
    <Description/>
    <FullName/>
    <EmailAddress/>
    <Telephone/>
    <IsEnabled>true</IsEnabled>
    <IsLocked>false</IsLocked>
    <IM/>
    <NameInSource>u1</NameInSource>
    <IsAlertEnabled>false</IsAlertEnabled>
    <AlertEmailPrefix/>
    <AlertEmail/>
    <IsExternal>false</IsExternal>
    <ProviderType>INTEGRATED</ProviderType>
    <IsDefaultCached>false</IsDefaultCached>
    <IsGroupRole>false</IsGroupRole>
    <StoredVmQuota>0</StoredVmQuota>
    <DeployedVmQuota>0</DeployedVmQuota>
    <Role
        type="application/vnd.vmware.admin.role+xml"
        name="Organization Administrator"
        href="https://vcloud.example.com/api/admin/role/a08a8798-7d9b-34d6-8dad-48c7182c5f66"/>
    <GroupReferences/>
</User>