add GetAccountMembership to get all dl that users belongs to

parent c92f7162
......@@ -236,6 +236,18 @@ class ZimbraAdminApi {
return this.performRequest(request_data);
}
getAccountMembership(accountId, callback) {
const request_data = this.buildRequestData('GetAccountMembership', callback);
request_data.parse_response = ResponseParser.getResponse;
request_data.params.params = {
account: {
by: "id",
_content: accountId
}
};
return this.performRequest(request_data);
}
// Specific functions
addAccountAlias(account_id, alias, callback) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment