Hi,

I am able to connect to the soap admin via curl and get authenticated. My concern is I need to get the aliases(alias e-mail address & target e-mail address) of a specific user. I am connected via admin, just don't now what soap request to use.

I have tried to use this soap request but only accounts work and aliases return non:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>' . $authToken . '</authToken>
<sessionId id="' . $sessionId . '">' . $sessionId . '</sessionId>
</context>
</soap:Header>
<soap:Body>


<SearchDirectoryRequest xmlns="urn:zimbraAdmin" offset="0" limit="0" sortBy="name" sortAscending="1"
attrs="displayName, zimbraId, uid, description, EmailAddress, zimbraAccountStatus" types="accounts">
<query xmlns="">!(mail=*archive)</query>
</SearchDirectoryRequest>



</soap:Body>
</soap:Envelope>';

Help is much appreciated. Feedbacks and ideas.. Thanks...