modify zimbraAccountStatus via SOAP

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Posts: 16
Joined: Sat Sep 13, 2014 2:30 am

modify zimbraAccountStatus via SOAP

Postby 1441Cam » Thu Aug 09, 2012 11:30 am

An odd question perhaps. I have an interface that allows external manipulation of zimbraAccountStatus, which works OK.
I noticed that some status values, eg. lockout or maintenance might be set by ZCS and also cleared, does this imply that ZCS is remembering the previous state when temporarily applying maintenance?
What happens if the external interface tries to set zimbraAccountStatus while the account is in maintenance or lockout?
I have a lifecycle in mind where accounts are pending -> active -> closed (then finally deleted) but there seems a possibility of race conditions if an external system is trying to set these values on an account. What would happen, would my modifyAccount return an exception?
How can I test this interface and assure myself the race conditions aren't a problem?

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 3 guests