Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1020

Developers • Account API - GetInfo as another user

$
0
0
Hi,

I'm trying to call GetInfo method on Account API as another account.

Preparation:
- created account.admin@example.com and account.user@example.com
- assigned delegated admin and getAccountInfo right on domain

Code:

zmprov ma account.admin@example.com zimbraIsDelegatedAdminAccount TRUEzmprov grr domain example.com usr account.admin@example.com +getAccountInfo
What I'm doing:
- authorize to Account API (also tried with Admin API) using account.admin@example.com
- call GetInfo on Account API with account.admin's auth token but in the context of account.user@example.com

Result:
permission denied: can not access account account.user@example.com

What am I doing wrong?

Statistics: Posted by Furgas — Tue Jan 28, 2025 11:52 am



Viewing all articles
Browse latest Browse all 1020

Trending Articles