Search code examples
active-directoryupn

UPN - User Principal Name


How I get my UPN from Active Directory? I need to test an app which uses Upn Claim type...


Solution

  • This command should work.

    C:> whoami /upn
    

    The whoami.exe command comes with Windows Vista and later, but for those on XP you can download it as part of the XP Support Tools here.