Manage customer accounts - Get users for a customer
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users?size={size}&SortField={SortField}&SortDirection={SortDirection}&seekOperation={seekOperation}
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
customer_id
|
path | True |
string |
客户租户 ID。 |
seek
|
query |
string |
要对客户用户执行的搜寻操作。 Microsoft.Partner.Providers.All.Contracts.Query.SeekOperation。 |
|
size
|
query |
integer int32 |
要返回的客户用户的最大数量。 |
|
Sort
|
query |
string |
||
Sort
|
query |
string |
请求头
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
Authorization | True |
string |
授权持有者令牌 |
ms-correlationid |
string |
用于在内部跟踪请求。 如果未提供 ms-correlationid,则服务器将为每个请求生成一个新请求 |
|
ms-cv |
string |
用于在内部跟踪请求。 如果未提供 ms-cv,服务器将为每个请求生成一个新请求 |
|
ms-requestid |
string |
用于请求的幂等性。 如果未提供 ms-requestid,服务器将为每个请求生成一个新请求 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
请求成功。 响应正文包含与筛选或请求的客户用户段匹配的客户用户列表,以及用于进一步查找请求的延续令牌。 Media Types: "application/json", "text/json" |
定义
Microsoft.Partner.Core.Collections.Link
名称 | 类型 | 说明 |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.Contracts.V1.CustomerUser]
名称 | 类型 | 说明 |
---|---|---|
attributes | ||
continuationToken |
string |
|
items | ||
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceAttributes
名称 | 类型 | 说明 |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
名称 | 类型 | 说明 |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
名称 | 类型 | 说明 |
---|---|---|
attributes | ||
displayName |
string |
|
firstName |
string |
|
id |
string |
|
immutableId |
string |
|
lastDirectorySyncTime |
string |
|
lastName |
string |
|
links | ||
passwordProfile | ||
phoneNumber |
string |
|
softDeletionTime |
string |
|
state |
enum:
|
|
usageLocation |
string |
|
userDomainType |
enum:
|
|
userPrincipalName |
string |
Microsoft.Partner.Providers.Contracts.V1.PasswordProfile
名称 | 类型 | 说明 |
---|---|---|
forceChangePassword |
boolean |
|
password |
System.Collections.Generic.KeyValuePair[System.String,System.String]
名称 | 类型 | 说明 |
---|---|---|
key |
string |
|
value |
string |
System.Security.SecureString
名称 | 类型 | 说明 |
---|---|---|
length |
integer |