doc-exports/docs/iam/api-ref/en-us_topic_0057845652.html
Wei, Hongmin 80f18fd272 IAM API 2.6 Version
Reviewed-by: Kabai, Zoltán Gábor <zoltan-gabor.kabai@t-systems.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2023-08-03 03:34:59 +00:00

290 lines
25 KiB
HTML

<a name="en-us_topic_0057845652"></a><a name="en-us_topic_0057845652"></a>
<h1 class="topictitle1">Querying User Details</h1>
<div id="body1492670576052"><div class="section" id="en-us_topic_0057845652__s5888597838b0425a92e3419fb766c7f5"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0057845652__p918354518317">This API is used to query detailed information about a specified user.</p>
</div>
<div class="section" id="en-us_topic_0057845652__s46d3616bd4c54e55ba97a528518a5890"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0057845652__en-us_topic_0026585112_ul20917673"><li id="en-us_topic_0057845652__l0762c927197248c39057087e143d6575">URI format<p id="en-us_topic_0057845652__p5923807710557"><a name="en-us_topic_0057845652__l0762c927197248c39057087e143d6575"></a><a name="l0762c927197248c39057087e143d6575"></a>GET /v3/users/{user_id}</p>
</li><li id="en-us_topic_0057845652__li35101076105454">URI parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845652__table12695788105445" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845652__row2052093105445"><th align="left" class="cellrowborder" valign="top" width="21.61%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="en-us_topic_0057845652__p42010912105445"><strong id="en-us_topic_0057845652__a6f95694edbbb43d8a152536754b86c82_1">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.28%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="en-us_topic_0057845652__p17489287105445"><strong id="en-us_topic_0057845652__a105e6ed8c3de4c5a9dde97ae5a71071e_1">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.49%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="en-us_topic_0057845652__p58168660105445"><strong id="en-us_topic_0057845652__a703d34a49a2f4162bc1a1a439f655f95_1">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.62%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="en-us_topic_0057845652__p63581350105445"><strong id="en-us_topic_0057845652__b842352706114032">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0057845652__row8541085105445"><td class="cellrowborder" valign="top" width="21.61%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__p2158168105445">user_id</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__p66884857105445">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__p6689695105445">String</p>
</td>
<td class="cellrowborder" valign="top" width="37.62%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__p1895018105445">User ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="en-us_topic_0057845652__se7fe5cac0d544e119c49322cc1707eb6"><h4 class="sectiontitle">Request Parameters</h4><ul id="en-us_topic_0057845652__en-us_topic_0026585112_ul3226198"><li id="en-us_topic_0057845652__l7c4919f55ea849a9bb59e1454113085c">Parameters in the request header
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845652__t68c7bd10e66a4380a1e6cdc78ca95669" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845652__r584496594a404ce18918a40e6e57c2ec"><th align="left" class="cellrowborder" valign="top" width="21.68%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="en-us_topic_0057845652__ac3a989cc5d3a405889eabb47dee84b04"><strong id="en-us_topic_0057845652__a6f95694edbbb43d8a152536754b86c82_3">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.09%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="en-us_topic_0057845652__a69a20ac00b86496aa8418517c542b0da"><strong id="en-us_topic_0057845652__a105e6ed8c3de4c5a9dde97ae5a71071e_3">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.560000000000002%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="en-us_topic_0057845652__a92c23d4441054df0972e025aeb3a8d7f"><strong id="en-us_topic_0057845652__a703d34a49a2f4162bc1a1a439f655f95_3">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.669999999999995%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="en-us_topic_0057845652__abe6882c44cf4402d8ed7706b9278f33b"><strong id="en-us_topic_0057845652__b4440558117299">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0057845652__r5d63069d6a8a426e8b25b94d1b4d302a"><td class="cellrowborder" valign="top" width="21.68%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0057845652__ad4fb6253385c46ab8720a0e13f573694">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0057845652__a6b33800bcb2a446695b1d33a2d751554">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.560000000000002%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0057845652__ab34a5e95b76b4b79a72da0734025f211">String</p>
</td>
<td class="cellrowborder" valign="top" width="37.669999999999995%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0057845652__a716277ae541d4553bb10490f9c02593d">Fill <strong id="en-us_topic_0057845652__b842352706161331">application/json;charset=utf8</strong> in this field.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__row29501427115257"><td class="cellrowborder" valign="top" width="21.68%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0057845652__p6637478211538">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0057845652__p764826811538">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.560000000000002%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0057845652__p1553001111538">String</p>
</td>
<td class="cellrowborder" valign="top" width="37.669999999999995%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0057845652__p4997141111538">Authenticated token with <strong id="en-us_topic_0057845652__b43461543154119">Security Administrator</strong> permissions or a user token.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="en-us_topic_0057845652__en-us_topic_0026585112_li17042198">Example request<pre class="screen" id="en-us_topic_0057845652__s6b85ed1428f745fabd2d60e4481ee1db"><em id="en-us_topic_0057845652__i12161181595619">curl -i -k -H 'Accept:application/json' -H 'Content-Type:application/json;charset=utf8' -H "X-Auth-Token:$token" -X GET https://sample.domain.com/v3/users/43cbe5e77aaf4665bbb962062dc1fxxx</em></pre>
</li></ul>
</div>
<div class="section" id="en-us_topic_0057845652__s3a08e13bb5b34dc2ba4dcd84a0d51cf5"><h4 class="sectiontitle">Response Parameters</h4><ul id="en-us_topic_0057845652__u038cb568d63e46ac95f0986f79d7bc03"><li id="en-us_topic_0057845652__l2e0c2ec3fbf640ca9f98448f23594a13">Parameters in the response body
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845652__t1266dd240c3649048c9f42af34a0686b" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845652__rd8ac2cd80e4b47d684b61df4f3c570cf"><th align="left" class="cellrowborder" valign="top" width="21.68%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="en-us_topic_0057845652__ad167d1bf89ca443eac693ea562da12a3"><strong id="en-us_topic_0057845652__a6f95694edbbb43d8a152536754b86c82_5">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.22%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="en-us_topic_0057845652__aad08ea1f8c8e4a42a1a81112a74cb237"><strong id="en-us_topic_0057845652__a105e6ed8c3de4c5a9dde97ae5a71071e_5">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.62%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="en-us_topic_0057845652__a9b5fafff0348408893dcc06fbe0b1186"><strong id="en-us_topic_0057845652__a703d34a49a2f4162bc1a1a439f655f95_5">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.480000000000004%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="en-us_topic_0057845652__ad002a0bf107a468884a5777e55f837f6"><strong id="en-us_topic_0057845652__b5037987417299">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0057845652__ref3b81e8e64e418c961ca1bce6f25280"><td class="cellrowborder" valign="top" width="21.68%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="en-us_topic_0057845652__abb2b4d81b907497da50ad4f12760f7dc">user</p>
</td>
<td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="en-us_topic_0057845652__a7e49a4eaca054e36ba774b0cdc492081">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.62%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="en-us_topic_0057845652__p53073101236">JSON object</p>
</td>
<td class="cellrowborder" valign="top" width="37.480000000000004%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="en-us_topic_0057845652__a8ded0409c6d948dc82f7f779a4cfa5b8">User details.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="en-us_topic_0057845652__l86920d09d4224a93a4379c10a51077f0">Description for the user format
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845652__t3ef10d134105438f922a72ac36adbe13" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845652__en-us_topic_0057845638_row19845533162112"><th align="left" class="cellrowborder" valign="top" width="19.81%" id="mcps1.3.4.2.2.1.1.5.1.1"><p id="en-us_topic_0057845652__en-us_topic_0057845638_p484813315212">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.45%" id="mcps1.3.4.2.2.1.1.5.1.2"><p id="en-us_topic_0057845652__en-us_topic_0057845638_p88525332215"><strong id="en-us_topic_0057845652__b1315235399">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.91%" id="mcps1.3.4.2.2.1.1.5.1.3"><p id="en-us_topic_0057845652__en-us_topic_0057845638_p14856183320218"><strong id="en-us_topic_0057845652__b670628635">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.83%" id="mcps1.3.4.2.2.1.1.5.1.4"><p id="en-us_topic_0057845652__en-us_topic_0057845638_p286173320218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0057845652__en-us_topic_0057845638_row3863153311217"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p88666332215">description</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p386916336212">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p7871123352112">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p6874133172114">Description for a user.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row128753339212"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p18877113392115">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1487933362114">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1388513334213">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p3888143315211">ID of the tenant that the user belongs to.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row089017338215"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1389315339212">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p3896123318213">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p13899103317210">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p12901113312215">Indicates whether the user is enabled. The value can be <strong id="en-us_topic_0057845652__b0372455203917">true</strong> or <strong id="en-us_topic_0057845652__b4751556173915">false</strong>. The default value is <strong id="en-us_topic_0057845652__b74111258193916">true</strong>.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row29030337213"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p890513302110">id</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p189081733112118">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p691093332117">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p091212333214">ID of a user.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row20913123342114"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1391415332215">links</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p391693315216">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p189191933182113">JSON object</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p192211334219">Links of a user resource.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row179247335217"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p119261133192110">name</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p189291933142116">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p493213315214">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p29351333192112">Username.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row193643316211"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1393815334212">password_expires_at</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1194143312119">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p18943633142112">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p294619332218">UTC time when the password will expire. <strong id="en-us_topic_0057845652__b177491551105718">null</strong> indicates that the password has unlimited validity.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row294912331214"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p17951143302120">pwd_status</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p11955533102116">No</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p29573333214">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p09601033172120">Password status. <strong id="en-us_topic_0057845652__b355111133319">true</strong> means that the password needs to be changed, and <strong id="en-us_topic_0057845652__b11550112333">false</strong> means that the password is normal.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row496283313218"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p179691433202117">pwd_strength</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p15972333142118">No</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p14974113312218">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p69781233112115">Password strength. The value can be <strong id="en-us_topic_0057845652__b153847174517">high</strong>, <strong id="en-us_topic_0057845652__b8634162184518">mid</strong>, or <strong id="en-us_topic_0057845652__b107749304513">low</strong>.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row1161234152117"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p519173417211">default_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p18213344218">No</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p423193420211">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1925143462116">ID of the project that is displayed by default when the user logs in to the console.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0057845638_row9263348215"><td class="cellrowborder" valign="top" width="19.81%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1330334112110">last_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.45%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p1232193418212">No</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p17361734142110">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.83%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845652__en-us_topic_0057845638_p203843472112">ID of the project that the user lastly accessed before exiting the system.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="en-us_topic_0057845652__en-us_topic_0026585112_ul10497152"><li id="en-us_topic_0057845652__en-us_topic_0057845638_lf3c28402a2ee4844bc99946ea67bf82d">Example response<pre class="screen" id="en-us_topic_0057845652__en-us_topic_0057845638_sf943dd4d83494c55a12db23ebfa9eb99">{
"users": [{
"name": "username",
"links": {
"self": "https://sample.domain.com/v3/users/6d8b04e3bf99445b8f76300xxx"
},
"description": "1234",
"domain_id": "88b16b6440684467b8825d7xxx",
"enabled": false,
"id": "6d8b04e3bf99445b8f763009xxx",
"password_expires_at": "2016-12-07T00:00:00.000000Z",
"pwd_status": true,
"pwd_strength": "high",
"last_project_id": ""
}],
"links": {
"self": "https://sample.domain.com/v3/users?domain_id=88b16b6440684467b882xxx154d8&amp;enabled=false",
"previous": null,
"next": null
}
}</pre>
</li></ul>
</div>
<div class="section" id="en-us_topic_0057845652__sbfe93ca4c2b9427dbb2218a4e72da6a8"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845652__en-us_topic_0035544336_table25927028" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845652__en-us_topic_0035544336_row10578662"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.1"><p id="en-us_topic_0057845652__en-us_topic_0035544336_p51565323"><strong id="en-us_topic_0057845652__b1994117617299">Status Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.2"><p id="en-us_topic_0057845652__en-us_topic_0035544336_p16041657"><strong id="en-us_topic_0057845652__b4160312517299">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0057845652__en-us_topic_0035544336_row24305815"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0035544336_p22613965">200</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0035544336_p19791876">The request is successful.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0035544336_row43909159"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0035544336_p66980994">400</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__en-us_topic_0035544336_p56751409">The server failed to process the request.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__rb99fbab78bc54ae4953661763b573830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__aef55745ff0834933af36d690e2e339b8">401</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__a480215738ced4bf5a8feafa2681db93b">Authentication failed.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__en-us_topic_0035544336_row41000636"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__en-us_topic_0035544336_p32717189">403</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__ae678037f26d640f5a985c943e2ffb92e">Access denied.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__r1fd5c05b7b6b4c048f3f7b9ddbc755b0"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__a5d7e2305922e4f9098442a900792dae1">404</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__a9edf299d0513460caaac8a2a19b76e9a">The requested resource cannot be found.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__rbb5133f150fd42eebde8dd6e390ecbd5"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__ad1a2754016e44193a97043265cd611cf">405</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__a81837d461ef445259c5a6e9e1ce0e32a">The method specified in the request is not allowed for the requested resource.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__r2cecff297b1a412f956a312d3cd7acc9"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__a1f617621d1bc4a9facb1c84d1946002b">413</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__ac31ead3ee2db40eea8ae45b2779a09e9">The request entity is too large.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__rd71e0e00759f4179a2dccaf345ba9f2f"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__a1657c5ca5ebd4a2cbacbdb35fc9b7601">500</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__a88b4b14048564e12942b8151dc791b99">Internal server error.</p>
</td>
</tr>
<tr id="en-us_topic_0057845652__r5647e5fd26974514ac66cc3925f30601"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845652__a16dfaa16ceac4a33a468c0ae158292fb">503</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845652__a5635c1924d9648a8be89b1e5dcf0a87b">Service unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0057845593.html">User Management</a></div>
</div>
</div>