Retrieves a paginated list of EIAM accounts.
Operation description
This API retrieves only applications directly assigned to an organization. Use the ApplicationIds parameter to filter applications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListUsers |
list |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| PageNumber |
integer |
No |
The page number. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. The default value is 20. The maximum value is 100. |
20 |
| UserIds |
array |
No |
The list of user IDs. |
20 |
|
string |
No |
The user ID. |
user_d6sbsuumeta4h66ec3il7yxxxx |
|
| UsernameStartsWith |
string |
No |
The prefix of the username. The query is performed based on the prefix. |
name_001 |
| DisplayNameStartsWith |
string |
No |
The prefix of the display name. The query is performed based on the prefix. |
name |
| PhoneRegion |
string |
No |
The country calling code. For example, the country calling code of China is |
86 |
| PhoneNumber |
string |
No |
The mobile number of the user. |
156xxxxxxx |
|
string |
No |
The email address of the user. |
user@example.com |
|
| UserExternalId |
string |
No |
The external ID of the user. The external ID can be used to associate the user with a user in an external system. Note The external ID must be unique within the same source type and source ID. |
id_wovwffm62xifdziem7an7xxxxx |
| UserSourceId |
string |
No |
The source ID of the user. If the user is created in EIAM, the value of this parameter is the ID of the EIAM instance. If the user is imported from an external system, the value of this parameter is the enterprise ID of the user in the external system. For example, if the user is imported from DingTalk, the value of this parameter is the |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| UserSourceType |
string |
No |
The source type of the user. Valid values:
|
build_in |
| Status |
string |
No |
The status of the user. Valid values:
|
enable |
| OrganizationalUnitId |
string |
No |
The ID of the organizational unit. |
ou_wovwffm62xifdziem7an7xxxxx |
| NextToken |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. |
NTxxxxexample |
| MaxResults |
integer |
No |
The number of entries per page. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries. |
100 |
| Users |
array<object> |
The list of users. |
|
|
object |
The user data. |
||
| UserId |
string |
The user ID. |
user_d6sbsuumeta4h66ec3il7yxxxx |
| Username |
string |
The user name. |
name001 |
| DisplayName |
string |
The display name. |
display_name001 |
| PasswordSet |
boolean |
Indicates whether a password is set. |
false |
| PhoneRegion |
string |
The country calling code. For example, specify |
86 |
| PhoneNumber |
string |
The phone number. |
156xxxxxxx |
| PhoneNumberVerified |
boolean |
Indicates whether the phone number is verified. |
true |
|
string |
The email address. |
user@example.com |
|
| EmailVerified |
boolean |
Indicates whether the email address is verified. |
true |
| UserExternalId |
string |
The external user ID. This ID maps data from an external system to a user in IDaaS. It defaults to the user ID. Note: The external user ID must be unique for the same source type and source ID. |
user_d6sbsuumeta4h66ec3il7yxxxx |
| UserSourceType |
string |
The user source type. Valid values:
|
build_in |
| UserSourceId |
string |
The user source ID. If the user is built-in, this is the instance ID. For users from other sources, this is the enterprise ID from the source, such as the |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| Status |
string |
The status. Valid values:
|
enabled |
| AccountExpireTime |
integer |
The account expiration time. This is a Unix timestamp in milliseconds. |
1652085686179 |
| PasswordExpireTime |
integer |
The password expiration time. This is a Unix timestamp in milliseconds. |
1652085686179 |
| RegisterTime |
integer |
The registration time. This is a Unix timestamp in milliseconds. |
1652085686179 |
| LockExpireTime |
integer |
The account lock expiration time. This is a Unix timestamp in milliseconds. |
1652085686179 |
| CreateTime |
integer |
The creation time. This is a Unix timestamp in milliseconds. |
1652085686179 |
| UpdateTime |
integer |
The last update time. This is a Unix timestamp in milliseconds. |
1652085686179 |
| Description |
string |
The user description. |
xxxx |
| InstanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
The token used to retrieve the next page of results. |
NTxxxxxexample |
| MaxResults |
integer |
The number of entries returned per page. |
20 |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"Users": [
{
"UserId": "user_d6sbsuumeta4h66ec3il7yxxxx",
"Username": "name001",
"DisplayName": "display_name001",
"PasswordSet": false,
"PhoneRegion": "86",
"PhoneNumber": "156xxxxxxx",
"PhoneNumberVerified": true,
"Email": "user@example.com",
"EmailVerified": true,
"UserExternalId": "user_d6sbsuumeta4h66ec3il7yxxxx",
"UserSourceType": "build_in",
"UserSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"Status": "enabled",
"AccountExpireTime": 1652085686179,
"PasswordExpireTime": 1652085686179,
"RegisterTime": 1652085686179,
"LockExpireTime": 1652085686179,
"CreateTime": 1652085686179,
"UpdateTime": 1652085686179,
"Description": "xxxx",
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx"
}
],
"NextToken": "NTxxxxxexample",
"MaxResults": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.