Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex StoreDoc
  • Getting started
  • Access management
  • Inspections and recommendations
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • GrantPermission
        • RevokePermission
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • GetUserRequest
  • User
  • Permission
  • ConnectionManager
  1. API reference
  2. gRPC
  3. User
  4. Get

Managed Service for MongoDB API, gRPC: UserService.Get

Written by
Yandex Cloud
Updated at October 7, 2026
View in Markdown
  • gRPC request
  • GetUserRequest
  • User
  • Permission
  • ConnectionManager

Returns the specified StoreDoc User resource.
To get the list of available StoreDoc User resources, make a List request.

gRPC requestgRPC request

rpc Get (GetUserRequest) returns (User)

GetUserRequestGetUserRequest

{
  "cluster_id": "string",
  "user_name": "string"
}

Field

Description

cluster_id

string

Required field. ID of the StoreDoc cluster the user belongs to.
To get the cluster ID, use a ClusterService.List request.

The maximum string length in characters is 50.

user_name

string

Required field. Name of the StoreDoc User resource to return.
To get the name of the user, use a UserService.List request.

The maximum string length in characters is 63. Value must match the regular expression ^[a-zA-Z0-9_][a-zA-Z0-9_@.-]*$.

UserUser

{
  "name": "string",
  "cluster_id": "string",
  "permissions": [
    {
      "database_name": "string",
      "roles": [
        "string"
      ]
    }
  ],
  "connection_manager": {
    "connection_id": "string"
  },
  "auth_type": "AuthType",
  "deletion_protection": "google.protobuf.BoolValue"
}

A StoreDoc User resource. For more information, see the
Developer's Guide.

Field

Description

name

string

Name of the StoreDoc user.

cluster_id

string

ID of the StoreDoc cluster the user belongs to.

permissions[]

Permission

Set of permissions granted to the user.

connection_manager

ConnectionManager

Connection Manager connection configuration.

auth_type

enum AuthType

Authentication type for the user.

  • AUTH_TYPE_PASSWORD: Password-based authentication (SCRAM).
  • AUTH_TYPE_IAM: IAM-based authentication via iam-auth-proxy (SASL/PLAIN, $external).

deletion_protection

google.protobuf.BoolValue

Deletion Protection inhibits deletion of the user.

PermissionPermission

Field

Description

database_name

string

Name of the database that the permission grants access to.

roles[]

string

StoreDoc roles for the database_name database that the permission grants.

ConnectionManagerConnectionManager

Connection Manager connection configuration.

Field

Description

connection_id

string

ID of Connection Manager connection.

Was the article helpful?

Previous
Overview
Next
List
© 2026 Direct Cursus Technology L.L.C.