Zm_User is a class which allows a Zimbra user to manage its own account via SOAP
You may change password, modify and get the attributes of a Zimbra user using this class
For the usage examples of all class methods check the source code of test.php
| package |
ZimbraSoapPhp |
|---|
changeUserPassword(string $userName, string $oldPassword, string $newPassword) : array
stringuser name
stringold password
stringnew password
arrayinformations
getUserAttrs(string $userName) : string
stringuser name
stringoption
getUserInfo(string $userName) : array
stringuser name
arrayinformations
getUserPrefs(string $userName) : array
stringuser name
arrayprefs
modifyUserPrefs(string $userName, array $prefs = array()) : array
stringuser name
arrayan array containing the user prefs to be set
arrayinformations
userExists(string $userName) : boolean
stringuser name
booleanexists