Manage customer accounts - Get Customer by UserId
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}
Parâmetros do URI
Name | Em | Necessário | Tipo | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
ID do locatário do cliente. |
user_id
|
path | True |
string |
ID do objeto de usuário do cliente. |
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 |
O pedido foi bem-sucedido. O corpo da resposta contém os detalhes do usuário do cliente. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definições
Microsoft.Partner.Core.Collections.Link
Name | Tipo | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Tipo | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
Name | Tipo | Description |
---|---|---|
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
Name | Tipo | Description |
---|---|---|
forceChangePassword |
boolean |
|
password |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Tipo | Description |
---|---|---|
key |
string |
|
value |
string |
System.Security.SecureString
Name | Tipo | Description |
---|---|---|
length |
integer |