All Products
Search
Document Center

Cloud Phone:DescribeUsers

Last Updated:Oct 27, 2026

Queries the information about convenience accounts, such as usernames, email addresses, and remarks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ecd:DescribeUsers

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

MaxResults

integer

No

The number of entries to return per page during paging.

  • Valid values: 1 to 500.

  • Default value: 200.

10

NextToken

string

No

The token for the next query. You do not need to specify this parameter for the first call. If the response does not contain all results, the returned NextToken is not empty. You can use the returned NextToken in the next request to continue the query.

caeba0bbb2be03f84eb48b699f0a****

Filter

string

No

The fuzzy search string. This parameter supports matching usernames (EndUserId) and email addresses (Email). This field supports wildcards (*). For example, if you set this field to a*m, all results whose username or email address starts with a and ends with m are returned.

a*m

FilterMap

object

No

The fuzzy match condition map for user information. This parameter supports usernames, nicknames, mobile phone numbers, email addresses, remarks, and employee IDs.

string

No

The fuzzy match text for the corresponding filter field.

alice

EndUserIds

array

No

The list of usernames (EndUserId) for exact match.

string

No

The username (EndUserId) for exact match.

alice

ExcludeEndUserIds

array

No

The list of usernames (EndUserId) to be exactly excluded.

string

No

The username (EndUserId) to be exactly excluded.

tony

OrgId

string

No

The organization ID for exact match to query the list of accounts that belong to the organization.

org-4mdgc1cocc59z****

GroupId

string

No

The user group ID for exact match to query the list of accounts that belong to the user group.

ug-12341234****

ShowExtras

object

No

Note

This parameter is not publicly available.

null

any

No

The key is one of the following types, and the value is of the Boolean type. A value of true indicates that the specified information is queried. The user groups and departments to which the user belongs are returned by default.

  • Group: the user groups to which the user belongs.

  • Org: the departments to which the user belongs.

  • ResourcesCount: the number of allocated resources.

  • Properties: the user properties.

ResourcesCount: true

FilterWithAssignedResources

object

No

Note

This parameter is not publicly available.

null

boolean

No

The key is one of the following resource types, and the value is of the Boolean type. A value of true specifies to filter users to whom the specified cloud resource is allocated.

  • Desktop: cloud desktop.

  • DesktopGroup: shared cloud desktop.

  • CloudDrive: enterprise cloud disk (personal disk).

  • App: cloud application.

DesktopGroup: true

IsQueryAllSubOrgs

boolean

No

The extended user information to query.

true

FilterWithAssignedResource

object

No

Filters users based on whether cloud resources are allocated.

string

No

The key is one of the following types, and the value is of the Boolean type. A value of true indicates that users who are assigned the specified cloud resource are filtered.

  • Desktop: cloud computer.

  • DesktopGroup: shared cloud computer.

  • CloudDrive: enterprise cloud disk (personal disk).

  • App: cloud application.

DesktopGroup: true

Status

integer

No

Specifies whether to query users in sub-organizations.

true

ExcludeGroupId

string

No

Filters users based on the allocation relationship of specified resources. The map key is the resource type.

ug-12341234****

BusinessChannel

string

No

The status.

0

Response elements

Element

Type

Description

Example

object

The response information collection.

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

NextToken

string

The token for the next query. An empty NextToken indicates that no more results are available.

caeba0bbb2be03f84eb48b699f0a4883

Count

integer

The total number of users that meet the query conditions.

0

Users

array<object>

The collection of convenience account information.

array<object>

The collection of convenience account information.

Id

integer

The ID of the convenience account.

4205**

EndUserId

string

The username.

alice

Email

string

The email address.

username@example.com

Phone

string

The mobile phone number. This parameter is not returned if it is not configured.

1381111****

Status

integer

The status.

Valid values:

  • 0 :

    Normal.

  • 9 :

    Locked.

0

OwnerType

string

The type of the convenience account. Valid values:

  • CreateFromManager: administrator-activated. The administrator sets the username and password. User notifications, such as password reset notifications, are sent to the email address or mobile phone number of the administrator.

  • Normal: user-activated. The administrator sets the username and the email address or mobile phone number for receiving notifications. User notifications, such as the cloud computer activation notification containing the initial password, are sent to the email address or mobile phone number of the user.

Valid values:

  • CreateFromManager :

    Administrator-activated.

  • Normal :

    User-activated.

Normal

Remark

string

The remark of the convenience account.

Test user.

OrgId

string

[Deprecated] The ID of the department to which the convenience account belongs.

org-4mdgc1cocc59z****

WyId

string

The globally unique ID of the convenience account.

41fd1254d8f7****

IsTenantManager

boolean

Indicates whether the user is a user administrator. If the created convenience account is of the administrator-activated type, you must specify a user administrator. Notifications, such as password reset notifications sent when end users reset passwords through the client, are sent to the email address or mobile phone number of the user administrator. For more information, see Create a convenience account.

true

Groups

array<object>

The collection of user groups to which the convenience account belongs.

object

The properties of the user group to which the convenience account belongs.

GroupId

string

The ID of the user group.

ug-12341234****

GroupName

string

The name of the user group.

User group 1

Orgs

array<object>

The collection of departments to which the convenience account belongs.

object

The properties of the department to which the convenience account belongs.

OrgId

string

The ID of the department.

org-4mdgc1cocc59z****

OrgName

string

The name of the department.

Department 1

OrgNamePath

string

The name path from the root organization to the current organization.

Product Department/Design Department

Avatar

string

The URL of the profile picture.

https://cdn.*****

Address

string

The work address of the user.

Hangzhou***

NickName

string

The nickname of the user. The value is obtained in the following order:

  • RealNickName

  • Remark

  • EndUserId

Li**

RealNickName

string

The display name of the user.

Li**

JobNumber

string

The employee ID of the user.

A10000**

Extras

object

The extended information of the user.

AssignedResourceCount

object

The number of allocated cloud resources.

any

The supported cloud resource types:

  • Desktop: cloud computer.

  • DesktopGroup: shared cloud computer.

  • CloudDrive: enterprise cloud disk (user personal disk).

  • APP: cloud application.

Desktop: 3

ResourcePolicyList

array<object>

The list of resource policies associated with the user.

object

PolicyId

string

The ID of the resource policy.

PolicyName

string

The Policy Name.

ExternalName

string

The name of the externally imported user.

Note

This field is not publicly available.

Ma**

Properties

array<object>

The properties of the user.

object

The list of properties.

Key

string

The property name.

Role

Value

string

The property value.

Student

EnableAdminAccess

boolean

Indicates whether administrator access permissions are enabled.

PasswordExpireDays

integer

The validity period of the password, in days. Valid values: 30 to 365. By default, the password never expires.

30

PasswordExpireRestDays

integer

The number of remaining days before the password expires.

10

Examples

Success response

JSON format

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "Count": 0,
  "Users": [
    {
      "Id": 0,
      "EndUserId": "alice",
      "Email": "username@example.com",
      "Phone": "1381111****",
      "Status": 0,
      "OwnerType": "Normal",
      "Remark": "Test user.",
      "OrgId": "org-4mdgc1cocc59z****",
      "WyId": "41fd1254d8f7****",
      "IsTenantManager": true,
      "Groups": [
        {
          "GroupId": "ug-12341234****",
          "GroupName": "User group 1"
        }
      ],
      "Orgs": [
        {
          "OrgId": "org-4mdgc1cocc59z****",
          "OrgName": "Department 1",
          "OrgNamePath": "Product Department/Design Department"
        }
      ],
      "Avatar": "https://cdn.*****",
      "Address": "Hangzhou***",
      "NickName": "Li**",
      "RealNickName": "Li**",
      "JobNumber": "A10000**",
      "Extras": {
        "AssignedResourceCount": {
          "key": "Desktop: 3"
        },
        "ResourcePolicyList": [
          {
            "PolicyId": "",
            "PolicyName": ""
          }
        ]
      },
      "ExternalName": "Ma**",
      "Properties": [
        {
          "Key": "Role",
          "Value": "Student"
        }
      ],
      "EnableAdminAccess": false,
      "PasswordExpireDays": 30,
      "PasswordExpireRestDays": 10
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.