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 left-hand panel, select
Users. The page will display a list of organization users with:- User: User login and email address.
- ID: User ID.
- Federation: Federation ID.
You may want to use the filter or search feature to find a user you need.
-
Click the row with the user name to view the information about his OS Login profiles and SSH keys.
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.