| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
- <meta charset="utf-8"/>
- <title> ZimbraSoapPhp » \Zm_User
- </title>
- <meta name="author" content=""/>
- <meta name="description" content=""/>
- <link href="../css/template.css" rel="stylesheet" media="all"/>
-
- <!--[if lt IE 9]>
- <script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
- <![endif]-->
- <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
- <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
- <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
- <script src="../js/bootstrap.js" type="text/javascript"></script>
- <script src="../js/template.js" type="text/javascript"></script>
- <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
-
- <link rel="shortcut icon" href="../img/favicon.ico"/>
- <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
- <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
- <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
- </head>
- <body>
- <div class="navbar navbar-fixed-top">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span> <span class="icon-bar"></span>
- <span class="icon-bar"></span> </a>
- <a class="brand" href="../index.html">ZimbraSoapPhp</a>
- <div class="nav-collapse">
- <ul class="nav">
- <li class="dropdown">
- <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
- API Documentation <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- </ul>
- </li>
- <li class="dropdown" id="charts-menu">
- <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
- Charts <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <li>
- <a href="../graph_class.html">
- <i class="icon-list-alt"></i> Class hierarchy diagram
- </a>
- </li>
- </ul>
- </li>
- <li class="dropdown" id="reports-menu">
- <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
- Reports <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <li>
- <a href="../errors.html">
- <i class="icon-list-alt"></i> Errors
- </a>
- </li>
- <li>
- <a href="../markers.html">
- <i class="icon-list-alt"></i> Markers
- </a>
- </li>
- <li>
- <a href="../deprecated.html">
- <i class="icon-list-alt"></i> Deprecated
- </a>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="go_to_top">
- <a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>
- </div>
- </div>
-
- <div id="___" class="container">
- <noscript>
- <div class="alert alert-warning">
- Javascript is disabled; several features are only available if Javascript is enabled.
- </div>
- </noscript>
-
- <style>
- .deprecated h2 {
- text-decoration: line-through;
- }
- </style>
- <div class="row">
- <div class="span4">
- <div class="btn-group view pull-right" data-toggle="buttons-radio">
- <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
- <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
- </div>
- <div class="btn-group visibility" data-toggle="buttons-checkbox">
- <button class="btn public active" title="Show public elements">Public</button>
- <button class="btn protected" title="Show protected elements">Protected</button>
- <button class="btn private" title="Show private elements">Private</button>
- <button class="btn inherited active" title="Show inherited elements">Inherited</button>
- </div>
- <ul class="side-nav nav nav-list">
- <li class="nav-header">
- <i class="icon-custom icon-method"></i> Methods
- <ul>
- <li class="method public">
- <a href="#method___construct" title="__construct :: Constructor">
- <span class="description">Constructor</span><pre>__construct</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_changeUserPassword" title="changeUserPassword :: changeUserPassword">
- <span class="description">changeUserPassword</span><pre>changeUserPassword</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_getUserAttrs" title="getUserAttrs :: getUserAttrs">
- <span class="description">getUserAttrs</span><pre>getUserAttrs</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_getUserInfo" title="getUserInfo :: getUserInfo">
- <span class="description">getUserInfo</span><pre>getUserInfo</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_getUserPrefs" title="getUserPrefs :: getUserPrefs">
- <span class="description">getUserPrefs</span><pre>getUserPrefs</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_modifyUserPrefs" title="modifyUserPrefs :: modifyUserPrefs">
- <span class="description">modifyUserPrefs</span><pre>modifyUserPrefs</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_userExists" title="userExists :: userExists">
- <span class="description">userExists</span><pre>userExists</pre>
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-header protected">» Protected
- <ul>
- </ul>
- </li>
- <li class="nav-header private">» Private
- <ul>
- </ul>
- </li>
- <li class="nav-header">
- <i class="icon-custom icon-constant"></i> Constants
- <ul>
- </ul>
- </li>
- </ul>
- </div>
- <div class="span8">
- <div class="element class">
- <h1>Zm_User</h1>
- <small style="display: block; text-align: right">
- </small>
- <p class="short_description">Zm_User is a class which allows a Zimbra user to manage its own account via SOAP</p>
- <div class="details">
- <div class="long_description">
- <p>You may change password, modify and get the attributes of a Zimbra user using this class</p>
- <p>For the usage examples of all class methods check the source code of test.php</p>
- </div>
- <table class="table table-bordered">
- <tr>
- <th>
- package
- </th>
- <td>
-
- <p>ZimbraSoapPhp</p>
- </td>
- </tr>
- </table>
- <h3><i class="icon-custom icon-method"></i> Methods</h3>
- <a id="method___construct"></a>
- <div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
- <h2>Constructor</h2>
- <pre>__construct(\Zm_Auth $auth) </pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- <tr>
- <th>
-
- </th>
- <td>
- </td>
- </tr>
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$auth</h4>
- <code><a href="../classes/Zm_Auth.html">\Zm_Auth</a></code><p><p>soap authentication</p></p>
- </div>
-
- </div>
- </div>
- </div>
- <a id="method_changeUserPassword"></a>
- <div class="element clickable method public method_changeUserPassword" data-toggle="collapse" data-target=".method_changeUserPassword .collapse">
- <h2>changeUserPassword</h2>
- <pre>changeUserPassword(string $userName, string $oldPassword, string $newPassword) : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$userName</h4>
- <code>string</code><p><p>user name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$oldPassword</h4>
- <code>string</code><p><p>old password</p></p>
- </div>
- <div class="subelement argument">
- <h4>$newPassword</h4>
- <code>string</code><p><p>new password</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>informations</p></p>
- </div>
- </div>
- </div>
- <a id="method_getUserAttrs"></a>
- <div class="element clickable method public method_getUserAttrs" data-toggle="collapse" data-target=".method_getUserAttrs .collapse">
- <h2>getUserAttrs</h2>
- <pre>getUserAttrs(string $userName) : string</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$userName</h4>
- <code>string</code><p><p>user name</p></p>
- </div>
-
- <h3>Response</h3>
- <code>string</code><p><p>option</p></p>
- </div>
- </div>
- </div>
- <a id="method_getUserInfo"></a>
- <div class="element clickable method public method_getUserInfo" data-toggle="collapse" data-target=".method_getUserInfo .collapse">
- <h2>getUserInfo</h2>
- <pre>getUserInfo(string $userName) : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$userName</h4>
- <code>string</code><p><p>user name</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>informations</p></p>
- </div>
- </div>
- </div>
- <a id="method_getUserPrefs"></a>
- <div class="element clickable method public method_getUserPrefs" data-toggle="collapse" data-target=".method_getUserPrefs .collapse">
- <h2>getUserPrefs</h2>
- <pre>getUserPrefs(string $userName) : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$userName</h4>
- <code>string</code><p><p>user name</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>prefs</p></p>
- </div>
- </div>
- </div>
- <a id="method_modifyUserPrefs"></a>
- <div class="element clickable method public method_modifyUserPrefs" data-toggle="collapse" data-target=".method_modifyUserPrefs .collapse">
- <h2>modifyUserPrefs</h2>
- <pre>modifyUserPrefs(string $userName, array $prefs = array()) : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$userName</h4>
- <code>string</code><p><p>user name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$prefs</h4>
- <code>array</code><p><p>an array containing the user prefs to be set</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>informations</p></p>
- </div>
- </div>
- </div>
- <a id="method_userExists"></a>
- <div class="element clickable method public method_userExists" data-toggle="collapse" data-target=".method_userExists .collapse">
- <h2>userExists</h2>
- <pre>userExists(string $userName) : boolean</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$userName</h4>
- <code>string</code><p><p>user name</p></p>
- </div>
-
- <h3>Response</h3>
- <code>boolean</code><p><p>exists</p></p>
- </div>
- </div>
- </div>
-
-
- <h3><i class="icon-custom icon-property"></i> Properties</h3>
- <a id="property_auth"> </a>
- <div class="element clickable property private property_auth" data-toggle="collapse" data-target=".property_auth .collapse">
- <h2>$auth</h2>
- <pre>auth : \Zm_Auth</pre>
- <div class="labels">
- </div>
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- <tr>
- <th>
- var
- </th>
- <td>
- <p>soap authentication</p>
- </td>
- </tr>
- </table>
- <h3>Type(s)</h3>
- <code><a href="../classes/Zm_Auth.html">\Zm_Auth</a></code>
- </div>
- </div>
- </div>
- </div>
- </div>
- <a id="\Zm_User"></a>
- <ul class="breadcrumb">
- <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
-
-
- <li><span class="divider">\</span><a href="../namespaces/default.html">\</a></li>
- <li class="active"><span class="divider">\</span><a href="../classes/Zm_User.html">Zm_User</a></li>
- </ul>
- </div>
- </div>
- </div>
- <footer class="span12">
- Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
- <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
- generated on Tue, 26 Sep 2017 11:01:05 +0200.<br/>
- </footer>
- </body>
- </html>
|