<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">You can use the debug flag when calling zmmailbox to show the underlaying SOAP calls.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">That will help you to see what you need to implement</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">Example:</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">zmmailbox <strong>-d</strong> -z -m <a href="mailto:user@example.com">user@example.com</a> gid</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">Sit tight, it is a lot!</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;"><span style="color: #000000; font-family: verdana, helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: verdana, helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">Can I auth as admin and perform actions on an user mailbox</span><div style="clear: both;" data-mce-style="clear: both;">Yes, that is the example above.</div><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;">The -m sets the target mailbox, somewhere underwater, the admin authenticates with a token</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;">to do stuff for the user.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Lorenzo Milesi" <maxxer@yetopen.it><br><b>To: </b>"users" <users@lists.zetalliance.org><br><b>Sent: </b>Tuesday, 22 January, 2019 13:06:59<br><b>Subject: </b>[Users] Info on API usage<br></div><br><div data-marker="__QUOTED_TEXT__"><div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><div id="zimbraEditorContainer" style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="10">API newbie usage: I'd like to achieve what "zmmailbox" does, that is <em>authenticating</em> as admin and execute tasks on an account, like creating a folder.</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="10">Is this possible with SOAP APIs? </div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="10"><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="10">I found it's possible to authenticate as admin, but only for performing admin tasks. Can I auth as admin and perform actions on an user mailbox?<br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="10">thanks<br><div>-- <br></div><div>Lorenzo Milesi - lorenzo.milesi@yetopen.it<br><br><br></div></div></div>
<br><div>

<a href="https://www.yetopen.it" target="_blank">

<img alt="YetOpen S.r.l." src="https://logo.ufficyo.com/logo_yetopen_firma_email.png" saveddisplaymode="" style="">

</a>

<br>

Via Salerno 18 - 23900 Lecco - ITALY -<br>

Tel +39 0341 220 205 - Fax +39 178 6070 222<br>

<br>

<em><font color="#77bb41">Think green</font> - Non stampare questa e-mail se non necessario / Don't print this email unless necessary</em><br>

<br>

<font style="font-size: 9px; color: rgb(162, 162, 162);">

-------- D.Lgs. 196/2003 e GDPR 679/2016 --------<br>

Tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. 

Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere confidenziali e riservate secondo i termini 

del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 - GDPR - e quindi ne e' proibita l'utilizzazione ulteriore non autorizzata.

Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, stamparlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile.

Grazie.<br>

<br>

Confidentiality notice: this email message including any attachment is for the sole use of the intended recipient and may contain confidential and privileged information;

pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 - GDPR - any unauthorized review, use, disclosure or distribution

is prohibited. If you are not the intended recepient please delete this message without copying, printing or forwarding it to others, and alert us as soon as possible. 

Thank you.<br>

</font>

</div>

</div></div></div><div><br></div></div></body></html>