Yandex Cloud
Search
Contact UsGet started
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Identity and Access Management
  • Secure use of Yandex Cloud
  • Access management
  • Pricing policy
  • Role reference
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • GetUserAccountRequest
  • UserAccount
  • YandexPassportUserAccount
  • SamlUserAccount
  • Attribute
  1. API reference
  2. gRPC
  3. UserAccount
  4. Get

Identity and Access Management API, gRPC: UserAccountService.Get

Written by
Yandex Cloud
Updated at December 17, 2024
  • gRPC request
  • GetUserAccountRequest
  • UserAccount
  • YandexPassportUserAccount
  • SamlUserAccount
  • Attribute

Returns the specified UserAccount resource.

gRPC requestgRPC request

rpc Get (GetUserAccountRequest) returns (UserAccount)

GetUserAccountRequestGetUserAccountRequest

{
  "user_account_id": "string"
}

Field

Description

user_account_id

string

Required field. ID of the UserAccount resource to return.

UserAccountUserAccount

{
  "id": "string",
  // Includes only one of the fields `yandex_passport_user_account`, `saml_user_account`
  "yandex_passport_user_account": {
    "login": "string",
    "default_email": "string"
  },
  "saml_user_account": {
    "federation_id": "string",
    "name_id": "string",
    "attributes": "map<string, Attribute>"
  },
  // end of the list of possible fields
  "last_authenticated_at": "google.protobuf.Timestamp"
}

Currently represents only Yandex account.

Field

Description

id

string

ID of the user account.

yandex_passport_user_account

YandexPassportUserAccount

A YandexPassportUserAccount resource.

Includes only one of the fields yandex_passport_user_account, saml_user_account.

saml_user_account

SamlUserAccount

A SAML federated user.

Includes only one of the fields yandex_passport_user_account, saml_user_account.

last_authenticated_at

google.protobuf.Timestamp

YandexPassportUserAccountYandexPassportUserAccount

A YandexPassportUserAccount resource.
For more information, see Yandex account.

Field

Description

login

string

Login of the Yandex user account.

default_email

string

Default email of the Yandex user account.

SamlUserAccountSamlUserAccount

A SAML federated user.
For more information, see federations.

Field

Description

federation_id

string

Required field. ID of the federation that the federation belongs to.

name_id

string

Required field. Name Id of the SAML federated user.
The name is unique within the federation. 1-256 characters long.

attributes

object (map<string, Attribute>)

Additional attributes of the SAML federated user.

AttributeAttribute

Field

Description

value[]

string

Was the article helpful?

Previous
Overview
Next
Overview
© 2025 Direct Cursus Technology L.L.C.