Viewing user groups
To view which groups a specific user belongs to, do the following:
-
Go to Yandex Identity Hub
. -
In the left-hand panel, select
Users and select the user from the list that opens.Optionally, use the search bar or filter at the top of the page.
-
Navigate to the Groups tab.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
See the description of the CLI command to view user's groups:
yc organization-manager group list-effective --help -
Run this command:
yc organization-manager group list-effective --subject_id <user_ID>Where
--subject_idis the user ID you got in the previous step.
Use the Group.ListEffective REST API method for the Group resource or the GroupService/ListEffective gRPC API call.