Identity and Access Management API, gRPC: UserAccountService.Get
Returns the specified UserAccount resource.
gRPC request
rpc Get (GetUserAccountRequest) returns (UserAccount)
GetUserAccountRequest
{
"userAccountId": "string"
}
Field |
Description |
userAccountId |
string Required field. ID of the UserAccount resource to return. |
UserAccount
{
"id": "string",
// Includes only one of the fields `yandexPassportUserAccount`, `samlUserAccount`
"yandexPassportUserAccount": {
"login": "string",
"defaultEmail": "string"
},
"samlUserAccount": {
"federationId": "string",
"nameId": "string",
"attributes": {
"value": [
"string"
]
}
},
// end of the list of possible fields
"lastAuthenticatedAt": "google.protobuf.Timestamp"
}
Currently represents only Yandex account.
Field |
Description |
id |
string ID of the user account. |
yandexPassportUserAccount |
A YandexPassportUserAccount resource. Includes only one of the fields |
samlUserAccount |
A SAML federated user. Includes only one of the fields |
lastAuthenticatedAt |
YandexPassportUserAccount
A YandexPassportUserAccount resource.
For more information, see Yandex account.
Field |
Description |
login |
string Login of the Yandex user account. |
defaultEmail |
string Default email of the Yandex user account. |
SamlUserAccount
A SAML federated user.
For more information, see federations.
Field |
Description |
federationId |
string Required field. ID of the federation that the federation belongs to. |
nameId |
string Required field. Name Id of the SAML federated user. |
attributes |
Additional attributes of the SAML federated user. |
Attribute
Field |
Description |
value[] |
string |