Get the user's ID or email
You can get the following information about any registered Yandex.Cloud user:
- ID
- Login
CLI
API
-
See the description of the get user information command:
$ yc iam user-account get --help
-
Get user information by specifying the user's login:
$ yc iam user-account get just.mad.hatter id: ajei8n5ahmfhuk5fog0g yandex_passport_user_account: login: just.mad.hatter default_email: just.mad.hatter@yandex.ru
Get information about the user (the UserAccount resource):
- If you know the user's login, use the getByLogin method for the YandexPassportUserAccount resource.
- If you know the user's ID, use the get method for the UserAccount resource.