次の方法で共有


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。

seekOperation
query

string

顧客のユーザーに対して実行するシーク操作。 Microsoft.Partner.Providers.All.Contracts.Query.SeekOperation。

size
query

integer

int32

返される顧客ユーザーの最大数。

SortDirection
query

string

SortField
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

Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.Contracts.V1.CustomerUser]

要求は成功しました。 応答本文には、フィルターまたは要求された顧客のユーザー セグメントに一致する顧客ユーザーの一覧が、さらにシーク要求の継続トークンと共に返されます。

Media Types: "application/json", "text/json"

定義

名前 説明
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.Contracts.V1.CustomerUser]
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
Microsoft.Partner.Providers.Contracts.V1.PasswordProfile
System.Collections.Generic.KeyValuePair[System.String,System.String]
System.Security.SecureString
名前 説明
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.Contracts.V1.CustomerUser]

名前 説明
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

continuationToken

string

items

Microsoft.Partner.Providers.Contracts.V1.CustomerUser[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Microsoft.Partner.Core.Collections.ResourceAttributes

名前 説明
etag

string

objectType

string

名前 説明
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.CustomerUser

名前 説明
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

displayName

string

firstName

string

id

string

immutableId

string

lastDirectorySyncTime

string

lastName

string

links

Microsoft.Partner.Core.Collections.ResourceLinks

passwordProfile

Microsoft.Partner.Providers.Contracts.V1.PasswordProfile

phoneNumber

string

softDeletionTime

string

state enum:
  • active
  • inactive
usageLocation

string

userDomainType enum:
  • federated
  • managed
  • none
userPrincipalName

string

Microsoft.Partner.Providers.Contracts.V1.PasswordProfile

名前 説明
forceChangePassword

boolean

password

System.Security.SecureString

System.Collections.Generic.KeyValuePair[System.String,System.String]

名前 説明
key

string

value

string

System.Security.SecureString

名前 説明
length

integer