Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 4e237fd705495e1e21ef20696443e053 > files > 969

bugzilla-5.0.4-3.mga7.noarch.rpm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>6.1.13. Users &#8212; Bugzilla 5.0.4 documentation</title>
    <link rel="stylesheet" href="../../../_static/bugzilla.css" type="text/css" />
    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../../',
        VERSION:     '5.0.4',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="../../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../../_static/doctools.js"></script>
    <link rel="shortcut icon" href="../../../_static/favicon.ico"/>
    <link rel="search" title="Search" href="../../../search.html" />
    <link rel="prev" title="6.1.12. Products" href="product.html" /> 
  </head>
  <body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="product.html" title="6.1.12. Products"
             accesskey="P">previous</a></li>
        <li class="nav-item nav-item-0"><a href="../../../index.html">Bugzilla 5.0.4 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="../../index.html" >6. WebService API Reference</a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="index.html" accesskey="U">6.1. Core API v1</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="users">
<h1>6.1.13. Users<a class="headerlink" href="#users" title="Permalink to this headline">¶</a></h1>
<p>This part of the Bugzilla API allows you to create user accounts, get information
about user accounts and to log in or out using an existing account.</p>
<div class="section" id="login">
<span id="rest-user-login"></span><h2>6.1.13.1. Login<a class="headerlink" href="#login" title="Permalink to this headline">¶</a></h2>
<p>Logging in with a username and password is required for many Bugzilla
installations, in order to search for private bugs, post new bugs, etc. This
method allows you to retrieve a token that can be used as authentication for
subsequent API calls. Otherwise yuou will need to pass your <code class="docutils literal"><span class="pre">login</span></code> and
<code class="docutils literal"><span class="pre">password</span></code> with each call.</p>
<p>This method will be going away in the future in favor of using <em>API keys</em>.</p>
<p><strong>Request</strong></p>
<div class="highlight-text"><div class="highlight"><pre><span></span>GET /rest/login?login=foo@example.com&amp;password=toosecrettoshow
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="9%" />
<col width="73%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><strong>login</strong></td>
<td>string</td>
<td>The user's login name.</td>
</tr>
<tr class="row-odd"><td><strong>password</strong></td>
<td>string</td>
<td>The user's password.</td>
</tr>
<tr class="row-even"><td>restrict_login</td>
<td>boolean</td>
<td>If set to a true value, the token returned by this
method will only be valid from the IP address which
called this method.</td>
</tr>
</tbody>
</table>
<p><strong>Response</strong></p>
<div class="highlight-js"><div class="highlight"><pre><span></span><span class="p">{</span>
  <span class="s2">&quot;token&quot;</span><span class="o">:</span> <span class="s2">&quot;786-OLaWfBisMY&quot;</span><span class="p">,</span>
  <span class="s2">&quot;id&quot;</span><span class="o">:</span> <span class="mi">786</span>
<span class="p">}</span>
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="10%" />
<col width="8%" />
<col width="82%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>int</td>
<td>Numeric ID of the user that was logged in.</td>
</tr>
<tr class="row-odd"><td>token</td>
<td>string</td>
<td>Token which can be passed in the parameters as
authentication in other calls. The token can be sent along
with any future requests to the webservice, for the duration
of the session, i.e. til <a class="reference internal" href="#rest-user-logout"><span class="std std-ref">Logout</span></a> is called.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="logout">
<span id="rest-user-logout"></span><h2>6.1.13.2. Logout<a class="headerlink" href="#logout" title="Permalink to this headline">¶</a></h2>
<p>Log out the user. Basically it invalidates the token provided so it cannot be
re-used. Does nothing if the token is not in use. Will also clear any existing
authentication cookies the client may still have stored.</p>
<p><strong>Request</strong></p>
<div class="highlight-text"><div class="highlight"><pre><span></span>GET /rest/logout?token=1234-VWvO51X69r
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="8%" />
<col width="10%" />
<col width="82%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>token</td>
<td>string</td>
<td>The user's token used for authentication.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="valid-login">
<span id="rest-user-valid-login"></span><h2>6.1.13.3. Valid Login<a class="headerlink" href="#valid-login" title="Permalink to this headline">¶</a></h2>
<p>This method will verify whether a client's cookies or current login token is
still valid or have expired. A valid username that matches must be provided as
well.</p>
<p><strong>Request</strong></p>
<div class="highlight-text"><div class="highlight"><pre><span></span>GET /rest/valid_login?login=foo@example.com&amp;token=1234-VWvO51X69r
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="12%" />
<col width="9%" />
<col width="79%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><strong>login</strong></td>
<td>string</td>
<td>The login name that matches the provided cookies or token.</td>
</tr>
<tr class="row-odd"><td>token</td>
<td>string</td>
<td>Persistent login token currently being used for
authentication.</td>
</tr>
</tbody>
</table>
<p><strong>Response</strong></p>
<p>Returns true/false depending on if the current token is valid for the provided
username.</p>
</div>
<div class="section" id="create-user">
<span id="rest-user-create"></span><h2>6.1.13.4. Create User<a class="headerlink" href="#create-user" title="Permalink to this headline">¶</a></h2>
<p>Creates a user account directly in Bugzilla, password and all. Instead of this,
you should use <strong>Offer Account by Email</strong> when possible because that makes sure
that the email address specified can actually receive an email. This function
does not check that. You must be authenticated and be in the <em>editusers</em> group
to perform this action.</p>
<p><strong>Request</strong></p>
<div class="highlight-text"><div class="highlight"><pre><span></span>POST /rest/user
</pre></div>
</div>
<div class="highlight-js"><div class="highlight"><pre><span></span><span class="p">{</span>
  <span class="s2">&quot;email&quot;</span> <span class="o">:</span> <span class="s2">&quot;user@bugzilla.org&quot;</span><span class="p">,</span>
  <span class="s2">&quot;full_name&quot;</span> <span class="o">:</span> <span class="s2">&quot;Test User&quot;</span><span class="p">,</span>
  <span class="s2">&quot;password&quot;</span> <span class="o">:</span> <span class="s2">&quot;K16ldRr922I1&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="8%" />
<col width="79%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><strong>email</strong></td>
<td>string</td>
<td>The email address for the new user.</td>
</tr>
<tr class="row-odd"><td>full_name</td>
<td>string</td>
<td>The user's full name. Will be set to empty if not specified.</td>
</tr>
<tr class="row-even"><td>password</td>
<td>string</td>
<td>The password for the new user account, in plain text. It
will be stripped of leading and trailing whitespace. If
blank or not specified, the new created account will
exist in Bugzilla but will not be allowed to log in
using DB authentication until a password is set either
by the user (through resetting their password) or by the
administrator.</td>
</tr>
</tbody>
</table>
<p><strong>Response</strong></p>
<div class="highlight-js"><div class="highlight"><pre><span></span><span class="p">{</span>
  <span class="s2">&quot;id&quot;</span><span class="o">:</span> <span class="mi">58707</span>
<span class="p">}</span>
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="8%" />
<col width="8%" />
<col width="85%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">desciption</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>int</td>
<td>The numeric ID of the user that was created.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="update-user">
<span id="rest-user-update"></span><h2>6.1.13.5. Update User<a class="headerlink" href="#update-user" title="Permalink to this headline">¶</a></h2>
<p>Updates an existing user account in Bugzilla. You must be authenticated and be
in the <em>editusers</em> group to perform this action.</p>
<p><strong>Request</strong></p>
<div class="highlight-text"><div class="highlight"><pre><span></span>PUT /rest/user/(id_or_name)
</pre></div>
</div>
<p>You can edit a single user by passing the ID or login name of the user
in the URL. To edit more than one user, you can specify addition IDs or
login names using the <code class="docutils literal"><span class="pre">ids</span></code> or <code class="docutils literal"><span class="pre">names</span></code> parameters respectively.</p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="9%" />
<col width="69%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><strong>id_or_name</strong></td>
<td>mixed</td>
<td>Either the ID or the login name of the user to
update.</td>
</tr>
<tr class="row-odd"><td><strong>ids</strong></td>
<td>array</td>
<td>Additional IDs of users to update.</td>
</tr>
<tr class="row-even"><td><strong>names</strong></td>
<td>array</td>
<td>Additional login names of users to update.</td>
</tr>
<tr class="row-odd"><td>full_name</td>
<td>string</td>
<td>The new name of the user.</td>
</tr>
<tr class="row-even"><td>email</td>
<td>string</td>
<td>The email of the user. Note that email used to
login to bugzilla. Also note that you can only
update one user at a time when changing the login
name / email. (An error will be thrown if you try to
update this field for multiple users at once.)</td>
</tr>
<tr class="row-odd"><td>password</td>
<td>string</td>
<td>The password of the user.</td>
</tr>
<tr class="row-even"><td>email_enabled</td>
<td>boolean</td>
<td>A boolean value to enable/disable sending
bug-related mail to the user.</td>
</tr>
<tr class="row-odd"><td>login_denied_text</td>
<td>string</td>
<td>A text field that holds the reason for disabling a
user from logging into Bugzilla. If empty, then the
user account is enabled; otherwise it is
disabled/closed.</td>
</tr>
<tr class="row-even"><td>groups</td>
<td>object</td>
<td>These specify the groups that this user is directly
a member of. To set these, you should pass an object
as the value. The object's items are described in
the Groups update objects below.</td>
</tr>
<tr class="row-odd"><td>bless_groups</td>
<td>object</td>
<td>This is the same as groups but affects what groups
a user has direct membership to bless that group.
It takes the same inputs as groups.</td>
</tr>
</tbody>
</table>
<p>Groups and bless groups update object:</p>
<table border="1" class="docutils">
<colgroup>
<col width="8%" />
<col width="6%" />
<col width="86%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>add</td>
<td>array</td>
<td>The group IDs or group names that the user should be added to.</td>
</tr>
<tr class="row-odd"><td>remove</td>
<td>array</td>
<td>The group IDs or group names that the user should be removed from.</td>
</tr>
<tr class="row-even"><td>set</td>
<td>array</td>
<td>Integers or strings which are an exact set of group IDs and group
names that the user should be a member of. This does not remove
groups from the user when the person making the change does not
have the bless privilege for the group.</td>
</tr>
</tbody>
</table>
<p>If you specify <code class="docutils literal"><span class="pre">set</span></code>, then <code class="docutils literal"><span class="pre">add</span></code> and <code class="docutils literal"><span class="pre">remove</span></code> will be ignored. A group in
both the <code class="docutils literal"><span class="pre">add</span></code> and <code class="docutils literal"><span class="pre">remove</span></code> list will be added. Specifying a group that the
user making the change does not have bless rights will generate an error.</p>
<p><strong>Response</strong></p>
<ul class="simple">
<li>users: (array) List of user change objects with the following items:</li>
</ul>
<table border="1" class="docutils">
<colgroup>
<col width="9%" />
<col width="8%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>int</td>
<td>The ID of the user that was updated.</td>
</tr>
<tr class="row-odd"><td>changes</td>
<td>object</td>
<td><p class="first">The changes that were actually done on this user. The keys
are the names of the fields that were changed, and the values
are an object with two items:</p>
<ul class="last simple">
<li>added: (string) The values that were added to this field,
possibly a comma-and-space-separated list if multiple values
were added.</li>
<li>removed: (string) The values that were removed from this
field, possibly a comma-and-space-separated list if multiple
values were removed.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="get-user">
<span id="rest-user-get"></span><h2>6.1.13.6. Get User<a class="headerlink" href="#get-user" title="Permalink to this headline">¶</a></h2>
<p>Gets information about user accounts in Bugzilla.</p>
<p><strong>Request</strong></p>
<p>To get information about a single user in Bugzilla:</p>
<div class="highlight-text"><div class="highlight"><pre><span></span>GET /rest/user/(id_or_name)
</pre></div>
</div>
<p>To get multiple users by name or ID:</p>
<div class="highlight-text"><div class="highlight"><pre><span></span>GET /rest/user?names=foo@bar.com&amp;name=test@bugzilla.org
GET /rest/user?ids=123&amp;ids=321
</pre></div>
</div>
<p>To get user matching a search string:</p>
<div class="highlight-text"><div class="highlight"><pre><span></span>GET /rest/user?match=foo
</pre></div>
</div>
<p>To get user by using an integer ID value or by using <code class="docutils literal"><span class="pre">match</span></code>, you must be
authenticated.</p>
<table border="1" class="docutils">
<colgroup>
<col width="21%" />
<col width="9%" />
<col width="70%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id_or_name</td>
<td>mixed</td>
<td>An integer user ID or login name of the user.</td>
</tr>
<tr class="row-odd"><td>ids</td>
<td>array</td>
<td>Integer user IDs. Logged=out users cannot pass
this parameter to this function. If they try,
they will get an error. Logged=in users will get
an error if they specify the ID of a user they
cannot see.</td>
</tr>
<tr class="row-even"><td>names</td>
<td>array</td>
<td>Login names.</td>
</tr>
<tr class="row-odd"><td>match</td>
<td>array</td>
<td><p class="first">This works just like &quot;user matching&quot; in Bugzilla
itself. Users will be returned whose real name
or login name contains any one of the specified
strings. Users that you cannot see will not be
included in the returned list.</p>
<p>Most installations have a limit on how many
matches are returned for each string; the default
is 1000 but can be changed by the Bugzilla
administrator.</p>
<p class="last">Logged-out users cannot use this argument, and
an error will be thrown if they try. (This is to
make it harder for spammers to harvest email
addresses from Bugzilla, and also to enforce the
user visibility restrictions that are
implemented on some Bugzillas.)</p>
</td>
</tr>
<tr class="row-even"><td>limit</td>
<td>int</td>
<td>Limit the number of users matched by the
<code class="docutils literal"><span class="pre">match</span></code> parameter. If the value is greater than the
system limit, the system limit will be used.
This parameter is only valid when using the <code class="docutils literal"><span class="pre">match</span></code>
parameter.</td>
</tr>
<tr class="row-odd"><td>group_ids</td>
<td>array</td>
<td>Numeric IDs for groups that a user can be in.</td>
</tr>
<tr class="row-even"><td>groups</td>
<td>array</td>
<td>Names of groups that a user can be in. If
<code class="docutils literal"><span class="pre">group_ids</span></code> or <code class="docutils literal"><span class="pre">groups</span></code> are specified, they
limit the return value to users who are in <em>any</em>
of the groups specified.</td>
</tr>
<tr class="row-odd"><td>include_disabled</td>
<td>boolean</td>
<td>By default, when using the <code class="docutils literal"><span class="pre">match</span></code> parameter,
disabled users are excluded from the returned
results unless their full username is identical
to the match string. Setting <code class="docutils literal"><span class="pre">include_disabled</span></code> to
<code class="docutils literal"><span class="pre">true</span></code> will include disabled users in the returned
results even if their username doesn't fully match
the input string.</td>
</tr>
</tbody>
</table>
<p><strong>Response</strong></p>
<ul class="simple">
<li>users: (array) Each object describes a user and has the following items:</li>
</ul>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="9%" />
<col width="69%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>int</td>
<td>The unique integer ID that Bugzilla uses to represent
this user. Even if the user's login name changes,
this will not change.</td>
</tr>
<tr class="row-odd"><td>real_name</td>
<td>string</td>
<td>The actual name of the user. May be blank.</td>
</tr>
<tr class="row-even"><td>email</td>
<td>string</td>
<td>The email address of the user.</td>
</tr>
<tr class="row-odd"><td>name</td>
<td>string</td>
<td>The login name of the user. Note that in some
situations this is different than their email.</td>
</tr>
<tr class="row-even"><td>can_login</td>
<td>boolean</td>
<td>A boolean value to indicate if the user can login
into bugzilla.</td>
</tr>
<tr class="row-odd"><td>email_enabled</td>
<td>boolean</td>
<td>A boolean value to indicate if bug-related mail will
be sent to the user or not.</td>
</tr>
<tr class="row-even"><td>login_denied_text</td>
<td>string</td>
<td>A text field that holds the reason for disabling a
user from logging into Bugzilla. If empty then the
user account is enabled; otherwise it is
disabled/closed.</td>
</tr>
<tr class="row-odd"><td>groups</td>
<td>array</td>
<td>Groups the user is a member of. If the currently
logged in user is querying their own account or is a
member of the 'editusers' group, the array will
contain all the groups that the user is a member of.
Otherwise, the array will only contain groups that
the logged in user can bless. Each object describes
the group and contains the items described in the
Group object below.</td>
</tr>
<tr class="row-even"><td>saved_searches</td>
<td>array</td>
<td>User's saved searches, each having the following
Search object items described below.</td>
</tr>
<tr class="row-odd"><td>saved_reports</td>
<td>array</td>
<td>User's saved reports, each having the following
Search object items described below.</td>
</tr>
</tbody>
</table>
<p>Group object:</p>
<table border="1" class="docutils">
<colgroup>
<col width="14%" />
<col width="8%" />
<col width="78%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>int</td>
<td>The group ID</td>
</tr>
<tr class="row-odd"><td>name</td>
<td>string</td>
<td>The name of the group</td>
</tr>
<tr class="row-even"><td>description</td>
<td>string</td>
<td>The description for the group</td>
</tr>
</tbody>
</table>
<p>Search object:</p>
<table border="1" class="docutils">
<colgroup>
<col width="6%" />
<col width="8%" />
<col width="86%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">name</th>
<th class="head">type</th>
<th class="head">description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>int</td>
<td>An integer ID uniquely identifying the saved report.</td>
</tr>
<tr class="row-odd"><td>name</td>
<td>string</td>
<td>The name of the saved report.</td>
</tr>
<tr class="row-even"><td>query</td>
<td>string</td>
<td>The CGI parameters for the saved report.</td>
</tr>
</tbody>
</table>
<p>If you are not authenticated when you call this function, you will only be
returned the <code class="docutils literal"><span class="pre">id</span></code>, <code class="docutils literal"><span class="pre">name</span></code>, and <code class="docutils literal"><span class="pre">real_name</span></code> items. If you are authenticated
and not in 'editusers' group, you will only be returned the <code class="docutils literal"><span class="pre">id</span></code>, <code class="docutils literal"><span class="pre">name</span></code>,
<code class="docutils literal"><span class="pre">real_name</span></code>, <code class="docutils literal"><span class="pre">email</span></code>, <code class="docutils literal"><span class="pre">can_login</span></code>, and <code class="docutils literal"><span class="pre">groups</span></code> items. The groups
returned are filtered based on your permission to bless each group. The
<code class="docutils literal"><span class="pre">saved_searches</span></code> and <code class="docutils literal"><span class="pre">saved_reports</span></code> items are only returned if you are
querying your own account, even if you are in the editusers group.</p>
<hr class="docutils" />
<p>This documentation undoubtedly has bugs; if you find some, please file
them <a class="reference external" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla&amp;component=Documentation">here</a>.</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="../../../index.html">
              <img class="logo" src="../../../_static/bugzilla.png" alt="Logo"/>
            </a></p>
  <h3><a href="../../../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">6.1.13. Users</a><ul>
<li><a class="reference internal" href="#login">6.1.13.1. Login</a></li>
<li><a class="reference internal" href="#logout">6.1.13.2. Logout</a></li>
<li><a class="reference internal" href="#valid-login">6.1.13.3. Valid Login</a></li>
<li><a class="reference internal" href="#create-user">6.1.13.4. Create User</a></li>
<li><a class="reference internal" href="#update-user">6.1.13.5. Update User</a></li>
<li><a class="reference internal" href="#get-user">6.1.13.6. Get User</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="product.html"
                        title="previous chapter">6.1.12. Products</a></p>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="../../../search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="product.html" title="6.1.12. Products"
             >previous</a></li>
        <li class="nav-item nav-item-0"><a href="../../../index.html">Bugzilla 5.0.4 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="../../index.html" >6. WebService API Reference</a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="index.html" >6.1. Core API v1</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.6.
    </div>
  </body>
</html>