GetClientUser
Retrieves the details of a user from a custom identity source in your Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
csas:GetClientUser |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IdpConfigId |
string |
Yes |
ID of the custom identity source configuration. |
idp-cfg68956d86e******** |
| Username |
string |
Yes |
Username. |
张三 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
ID of this request. |
58D6B23E-E5DA-5418-8F61-51A3B5A30049 |
| Data |
object |
User details. |
|
| Id |
string |
User ID. |
83 |
| IdpConfigId |
string |
ID of the custom identity source configuration. |
idp-cfg68956d86e******** |
| Username |
string |
Username. |
张三 |
| UserId |
string |
Unique identifier of the user. |
su_abcd7215**** |
| Description |
string |
User description. |
示例用户 |
|
string |
Email address. |
johndoe@example.com |
|
| MobileNumber |
string |
Mobile phone number without country code. |
1364196**** |
| DepartmentId |
string |
Department ID. |
10713 |
| Status |
string |
User status. Valid values:
|
Disabled |
| Department |
object |
Department to which the user belongs. |
|
| Id |
string |
Department ID. |
107 |
| Name |
string |
Department name. |
示例部门 |
Examples
Success response
JSON format
{
"RequestId": "58D6B23E-E5DA-5418-8F61-51A3B5A30049",
"Data": {
"Id": "83",
"IdpConfigId": "idp-cfg68956d86e********",
"Username": "张三",
"UserId": "su_abcd7215****",
"Description": "示例用户",
"Email": "johndoe@example.com",
"MobileNumber": "1364196****",
"DepartmentId": "10713",
"Status": "Disabled",
"Department": {
"Id": "107",
"Name": "示例部门"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.