Service: zimbraAccount

Command: GetAccountInfo
Namespace: urn:zimbraAccount
Description: Get Information about an account
Properties:
Authorization token required true
Admin Authorization token required false

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}
Use to identify the account
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>
        (<attr name="{name}">{value}</attr> ## NamedValue)+
        <soapURL>{soapURL} (String)</soapURL>
        <publicURL>{publicURL} (String)</publicURL>
        <changePasswordURL>{changePasswordURL} (String)</changePasswordURL>
        <adminURL>{adminURL} (String)</adminURL>
        <boshURL>{boshURL} (String)</boshURL>
    </GetAccountInfoResponse>

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

XPath Required / Optional Description
/name Required (only 1) Type: {name} (String)
Account name - an email address (user@domain)
/attr Required (1 or more) Type: {value}
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
displayName display name for the account

Description for element text content:Value
/attr@name Required (only 1) Type: String
Name
/soapURL Optional (0 or 1) Type: {soapURL} (String)
URL to talk to for soap service for this account. e.g.:
     http://server:7070/service/soap/
 

If both http and https (SSL) are enabled, the https URL will be returned.

/publicURL Optional (0 or 1) Type: {publicURL} (String)
Base public URL for the requested account
/changePasswordURL Optional (0 or 1) Type: {changePasswordURL} (String)
URL to talk to in order to change a password. Not returned if not configured via domain attribute zimbraChangePasswordURL
/adminURL Optional (0 or 1) Type: {adminURL} (String)
base URL for accessing the admin console
/boshURL Optional (0 or 1) Type: {boshURL} (String)
Proxy URL for accessing XMPP over BOSH. Should be returned only when zimbraFeatureChatEnabled is set to TRUE for Account/COS