Reputation: 9994
How I get my UPN from Active Directory? I need to test an app which uses Upn Claim type...
Upvotes: 13
Views: 26380
Reputation: 596
If you have administrative rights in Active Directory, you can run Active Directory Users and Computers and look at the Account tab of the User Properties window and see it with it being a combination of the User logon name and the domain suffix (first one listed).
Upvotes: 0
Reputation: 3963
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.
Upvotes: 30