Partilhar via


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}

Parâmetros do URI

Name Em Necessário Tipo Description
customer_id
path True

string

O ID do locatário do cliente.

role_id
path True

string

O id da função.

seekOperation
query

string

A operação de busca a ser executada nos membros de usuário da função de diretório. Microsoft.Partner.Providers.All.Contracts.Query.SeekOperation.

size
query

integer

int32

O número máximo de membros de usuário a retornar, valor não deve ser superior a 500 e não deve ser inferior a 1.

Cabeçalho do Pedido

Name Necessário Tipo Description
Authorization True

string

Token de portador de autorização

ms-correlationid

string

Usado para rastrear solicitações internamente. Se um ms-correlationid não for fornecido, o servidor gerará um novo para cada solicitação

ms-cv

string

Usado para rastrear solicitações internamente. Se um ms-cv não for fornecido, o servidor gerará um novo para cada solicitação

ms-requestid

string

Usado para idempotência de solicitações. Se um ms-requestid não for fornecido, o servidor gerará um novo para cada solicitação

Respostas

Name Tipo Description
200 OK

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

O pedido foi bem-sucedido. O corpo da resposta contém uma lista de funções de diretório de clientes suportadas para todos os clientes.

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

Definições

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 Tipo 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 Tipo 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 Tipo Description
etag

string

objectType

string

Name Tipo 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 Tipo 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 Tipo Description
key

string

value

string