Getting user ID or email
You can get the following information about an organization's registered users:
- ID
- Login
- Federation ID
Note
Only users with the organization-manager.admin
or organization-manager.organizations.owner
role can get a user ID or email. To learn how to grant roles to a user, see Roles.
-
Go to Yandex Cloud Organization
. -
In the panel on the left, select the Users
section. . The page will display:- User: User login and email address.
- ID: User ID.
- Federation: Federation ID.
- The
button for configuring access permissions.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
See the description of the command to get information about an organization's users:
yc organization-manager user list --help
-
Using this command, get user-related information by specifying the organization ID:
yc organization-manager user list --organization-id <organization_ID>
Where
organization_id
is the organization ID.Result:
+----------------------+----------+--------------------------+-----------------------+ | ID | USERNAME | EMAIL | FEDERATION ID | +----------------------+----------+--------------------------+-----------------------+ | ajeebjmlsdk9******** | hatter | hatter@yandex.com | gyuiawudhiks******** | | bsdeoujmzsdk******** | alice | alice@yandex.com | | +----------------------+----------+--------------------------+-----------------------+
Get user parameters with an API call.