Find out what users are logged in via UPN

I need to find out what users are logged in via their UPN and what users are logged in via their pre windows 2000 login. Is there any way to find this information?
LVL 6
Sid_FAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MaheshArchitectCommented:
you won't get any events stating that you have logged in with UPN
when user logon to workstation with UPN, in backend it actually login with SamAccountName and same is reflects in logon / logoff events

if you are using adfs and if it s set to logon with UPN, you should get events on adfs, you can check those
1
Sid_FAuthor Commented:
Hmm ok is there any way even direct from the users machine to know if they are logged in via upn or username other than logging them out to see what the login name is
0
MaheshArchitectCommented:
I don't think you will get that because even "set" command shows only "samaccountname" of user who logged on with UPN

I am curios to see if we get any info from other experts
0
Shaun VermaakTechnical SpecialistCommented:
Audit this
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData
session1a.pngsession1b.pngYou can even do save it to the computer object as per first part of
https://www.experts-exchange.com/articles/30891/Automated-object-placement-using-AutoAD.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shaun VermaakTechnical SpecialistCommented:
Best solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.