Service: zimbraAdmin

Command: GetAccountInfo
Namespace: urn:zimbraAdmin
Description: Get information about an account
Currently only 2 attrs are returned:
zimbraId the unique UUID of the zimbra account
zimbraMailHost the server on which this user's mail resides
Access: domain admin sufficient
Properties:
Authorization token required true
Admin Authorization token required true

GetAccountInfoRequest

    <GetAccountInfoRequest> ## GetAccountInfoRequest
        <account by="{acct-selector-by} (adminName | appAdminName | id | foreignPrincipal | name | krb5Principal)">{key}</account> ## AccountSelector
    </GetAccountInfoRequest>

elements and attributes you can define within a <GetAccountInfoRequest> element:

XPath Required / Optional Description
/account Required (only 1) Type: {key}
Description for element text content:The key used to identify the account. Meaning determined by {acct-selector-by}
/account@by Required (only 1) Type: adminName | appAdminName | id | foreignPrincipal | name | krb5Principal
Select the meaning of {acct-selector-key}

GetAccountInfoResponse

Provides a limited amount of information about the requested account.
Note: there are some minor differences between the Admin and Account versions of GetAccountInfoResponse.

    <GetAccountInfoResponse> ## GetAccountInfoResponse
        <name>{name} (String)</name>
        (<a n="{key}" /> ## Attr)*
        <cos id="{id}" name="{name}" [isDefaultCos="{is-default-cos} (0|1)"]> ## CosInfo
            (<a [c="{is-cos-attr} (0|1)"] [pd="{perm-denied} (0|1)"] n="{key}" /> ## CosInfoAttr)*
         </cos>
        (<soapURL>{soapURLList} (String)</soapURL>)*
        <adminSoapURL>{adminSoapURL} (String)</adminSoapURL>
        <publicMailURL>{publicMailURL} (String)</publicMailURL>
    </GetAccountInfoResponse>

elements and attributes you can define within a <GetAccountInfoResponse> element:

XPath Required / Optional Description
/name Required (only 1) Type: {name} (String)
Account name
/a Optional (0 or more) Account attributes. Currently only these attributes are returned:
zimbraId the unique UUID of the zimbra account
zimbraMailHost the server on which this user's mail resides
/a@n Required (only 1) Type: String
Key
/cos Optional (0 or 1) Class of Service (COS) information for account
/cos@id Required (only 1) Type: String
ID
/cos@name Required (only 1) Type: String
Name
/cos@isDefaultCos Optional (0 or 1) Type: 0|1
Flag whether is the default Class Of Service (COS)
/cos/a Optional (0 or more) Attributes
/cos/a@c Optional (0 or 1) Type: 0|1
Flags that this is a Class Of Service (COS) attribute.
/cos/a@pd Optional (0 or 1) Type: 0|1
Flags that the value of this attribute has been suppressed for permissions reasons
/cos/a@n Required (only 1) Type: String
Key
/soapURL Optional (0 or more) Type: {soapURLList} (String)
URL to talk to for SOAP service for this account. e.g.:
     http://server:7070/service/soap/
 
Multiple URLs can be returned if both http and https (SSL) are enabled. If only one of the two is enabled, then only one URL will be returned.
/adminSoapURL Optional (0 or 1) Type: {adminSoapURL} (String)
URL for the Admin SOAP service
Note: Admin app only runs over SSL.
/publicMailURL Optional (0 or 1) Type: {publicMailURL} (String)
URL for Web Mail application