Get the user's ID or email

    You can get the following information about any registered Yandex.Cloud user:

    • ID
    • Login
    • Email
    1. See the description of the get user information command:

      $ yc iam user-account get --help
      
    2. 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):