All Products
Search
Document Center

Cloud Phone:FilterUsers

Last Updated:Nov 14, 2025

Filters convenience accounts by property.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:FilterUsersget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
MaxResultslongNo

The number of entries per page. If you set this parameter to a value greater than 100, the system resets the value to 100.

10
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. If not all results are returned in a query, a value is returned for the NextToken parameter. In this case, you can use the returned NextToken value to start the next query.

caeba0bbb2be03f84eb48b699f0a4883
FilterstringNo

The string that is used for fuzzy search. You can use usernames and email addresses to perform fuzzy search. Wildcard characters (*) are supported for this parameter. For example, if you set this parameter to a*m, the usernames or an email addresses that start with a or end with m are returned.

test
PropertyFilterParamarray<object>No

The list of properties for fuzzy search.

objectNo

The custom parameter that is configured by the user.

PropertyIdlongNo

The ID of the property.

123
PropertyValueIdsstringNo

The IDs of the property values.

test
PropertyKeyValueFilterParamarray<object>No

The list of property names and property values.

objectNo

Details of the property and property value.

PropertyKeystringNo

The property name.

job
PropertyValuesstringNo

The property values.

dev
IncludeDesktopCountbooleanNo

Specifies whether to return the number of cloud desktops that are assigned to the convenience user.

Valid values:

  • true

  • false

true
IncludeDesktopGroupCountbooleanNo

Specifies whether to return the number of cloud desktop pools that are assigned to the convenience user.

Valid values:

  • true

  • false

false
OrgIdstringNo

The ID of the organization.

org-aliyun-wy-org-id
OwnerTypestringNo

The activation type of the convenience account.

Valid values:

  • CreateFromManager: administrator-activated.
  • Normal: user-activated.
Normal
ExcludeEndUserIdsarrayNo

The list of usernames to be precisely excluded.

stringNo

The username (EndUserId) that you want to exactly exclude during the query.

end_user_id
OrderParamobjectNo

The parameter that might affect the sorting logic.

OrderFieldstringNo

The field that you want to sort by.

Valid values:

  • EndUserId: the username.
  • id: the ID of the primary key.
  • gmt_created: the creation time.
id
OrderTypestringNo

The direction of the sort.

Valid values:

  • ASC: the ascending order.
  • DESC (default): the descending order.
ASC
StatusintegerNo

The status.

Enumeration Value:
  • 0: 正常状态.
  • 11: 已离职.
0
IsQueryAllSubOrgsbooleanNo

Specifies whether to query all sub-organizations.

IncludeOrgInfobooleanNo

Specifies whether to return the organization information.

IncludeSupportIdpsbooleanNo

Specifies whether to return the supported logon types.

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

DBD276B5-00FF-5E04-8EF7-5CBA09BF112A
NextTokenstring

The pagination token that is used in the next request to retrieve a new page of results. If not all results are returned in a query, a value is returned for the NextToken parameter. In this case, you can use the returned NextToken value to start the next query.

caeba0bbb2be03f84eb48b699f0a4883
Usersarray<object>

The information about the convenience accounts.

dataobject

The information about the convenience account.

Idlong

The ID of the convenience user.

12345
EndUserIdstring

The username of the convenience user.

testName
Emailstring

The email address of the convenience user.

testName@example.com
Phonestring

The mobile number of the convenience user.

1381111****
Statuslong

The remarks on the convenience account.

Valid values:

  • 0: The convenience account is normal.
  • 9: The convenience account is locked.
0
UserSetPropertiesModelsarray<object>

The information about the properties.

userSetPropertiesModelsobject

Details of the user property.

UserIdlong

The ID of the convenience user that is bound to the property.

12345
UserNamestring

The username of the convenience user that is bound to the property.

testName
PropertyIdlong

The property ID.

12
PropertyKeystring

The property name.

department
PropertyTypeinteger

The property type.

2
PropertyValuesarray<object>

The property values.

propertyValuesobject

Details of the property value.

PropertyValueIdlong

The ID of the property value.

42
PropertyValuestring

The property value.

A
DesktopCountlong

The number of cloud desktops that are assigned to the convenience user.

1
ExternalInfoobject

The additional information about the convenience user.

ExternalNamestring

The account that is associated with the convenience user.

test
JobNumberstring

The account, student ID, or employee ID that is associated with the convenience user.

030801
DesktopGroupCountlong

The number of cloud desktop pools that are assigned to the convenience user. This value is returned if you set IncludeDesktopGroupCount to true.

2
OwnerTypestring

The type of the account ownership.

Valid values:

  • CreateFromManager: administrator-activated
  • Normal: user-activated
Normal
Remarkstring

The remarks on the convenience user.

1
IsTenantManagerboolean

Indicates whether the convenience user is a tenant administrator.

Valid values:

  • true

  • false

true
EnableAdminAccessboolean

Indicates whether the convenience user is a local administrator.

Valid values:

  • true

  • false

true
RealNickNamestring

The nickname of the convenience user.

Oliver
AutoLockTimestring

The date when a convenience account is automatically locked.

2023-03-03
PasswordExpireDaysinteger

By default, user account passwords do not expire. However, you can set a validity period between 30 and 365 days. Once the period expires, end users must change their password before they can log on to terminals.

Note The feature is in invitational preview. If you want to use this feature, submit a ticket.
30
PasswordExpireRestDaysinteger

The number of days remaining until the account password expires.

10
OrgListarray<object>

The organizations to which the user belongs.

orgListobject

The organizations to which the user belongs.

OrgIdstring

The organization ID.

OrgNamestring

The organization name.

OrgNamePathstring

The organization name path.

SupportLoginIdpsarray<object>

The supported identity provider logon methods.

IdpInfoobject

The supported identity provider logon method.

IdpIdstring

The enterprise identity provider ID.

IdpNamestring

The enterprise identity provider name.

Examples

Sample success responses

JSONformat

{
  "RequestId": "DBD276B5-00FF-5E04-8EF7-5CBA09BF112A",
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "Users": [
    {
      "Id": 12345,
      "EndUserId": "testName",
      "Email": "testName@example.com",
      "Phone": "1381111****",
      "Status": 0,
      "UserSetPropertiesModels": [
        {
          "UserId": 12345,
          "UserName": "testName",
          "PropertyId": 12,
          "PropertyKey": "department",
          "PropertyType": 2,
          "PropertyValues": [
            {
              "PropertyValueId": 42,
              "PropertyValue": "A"
            }
          ]
        }
      ],
      "DesktopCount": 1,
      "ExternalInfo": {
        "ExternalName": "test",
        "JobNumber": "030801"
      },
      "DesktopGroupCount": 2,
      "OwnerType": "Normal",
      "Remark": 1,
      "IsTenantManager": true,
      "EnableAdminAccess": true,
      "RealNickName": "Oliver\n",
      "AutoLockTime": "2023-03-03",
      "PasswordExpireDays": 30,
      "PasswordExpireRestDays": 10,
      "OrgList": [
        {
          "OrgId": "",
          "OrgName": "",
          "OrgNamePath": ""
        }
      ],
      "SupportLoginIdps": [
        {
          "IdpId": "",
          "IdpName": ""
        }
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-10-20The response structure of the API has changedView Change Details
2025-03-24The request parameters of the API has changed. The response structure of the API has changedView Change Details
2024-12-11The request parameters of the API has changedView Change Details
2024-08-15The request parameters of the API has changedView Change Details
2024-04-09The response structure of the API has changedView Change Details
2023-10-25The response structure of the API has changedView Change Details
2021-08-10The response structure of the API has changedView Change Details
2021-08-10The request parameters of the API has changed. The response structure of the API has changedView Change Details
2021-08-10The request parameters of the API has changedView Change Details