Megosztás a következőn keresztül:


Manage customer accounts - Get Directory Role by RoleId

GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/directoryroles/{role_id}/usermembers
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/directoryroles/{role_id}/usermembers?size={size}&seekOperation={seekOperation}

URI-paraméterek

Name In Kötelező Típus Description
customer_id
path True

string

Az ügyfél bérlőazonosítója.

role_id
path True

string

A szerepkör azonosítója.

seekOperation
query

string

A címtárszerepkör felhasználói tagjain végrehajtandó keresési művelet. Microsoft.Partner.Providers.All.Contracts.Query.SeekOperation.

size
query

integer

int32

A visszaadandó felhasználói tagok maximális száma, az érték nem lehet 500-nál nagyobb, és nem lehet kisebb 1-nél.

Kérelem fejléce

Name Kötelező Típus Description
Authorization True

string

Engedélyezési tulajdonos jogkivonata

ms-correlationid

string

A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat

ms-cv

string

A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-cv, a kiszolgáló minden kéréshez létrehoz egy újat

ms-requestid

string

A kérések idempotensségéhez használatos. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez létrehoz egy újat

Válaszok

Name Típus Description
200 OK

Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.RoleConfigurationData.Models.UserMember]

A kérés sikeres volt. A válasz törzse tartalmazza az összes ügyfél által támogatott ügyfélkönyvtár-szerepkörök listáját.

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

Definíciók

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.RoleConfigurationData.Models.UserMember]
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.RoleConfigurationData.Models.UserMember
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name Típus Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.PagedResourceCollection[Microsoft.Partner.Providers.RoleConfigurationData.Models.UserMember]

Name Típus Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

continuationToken

string

items

Microsoft.Partner.Providers.RoleConfigurationData.Models.UserMember[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Típus Description
etag

string

objectType

string

Name Típus Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.RoleConfigurationData.Models.UserMember

Name Típus Description
accountId

string

attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

displayName

string

id

string

roleId

string

userPrincipalName

string

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

Name Típus Description
key

string

value

string