chugh97
chugh97

Reputation: 9994

UPN - User Principal Name

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

Upvotes: 13

Views: 26380

Answers (2)

Chad Rexin
Chad Rexin

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

Jeremy Wiebe
Jeremy Wiebe

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

Related Questions