UPN - User Principal Name

26k Views Asked by At

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

2

There are 2 best solutions below

1
On BEST ANSWER

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.

0
On

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).