Avatar of jhaff
jhaffFlag for Afghanistan

asked on 

UPN vs. SAM account names

hello, i'm wondering if there is a downside to using the UPN vs. the SAM account names in AD.  SAM (or pre-2000) login has a 20 character limit, which becomes problematic in my environment.  is the SAM account name ever going to go away, as the name suggests, pre-2000 rarely exists these days.

also, i was wondering if there was a %_% shortcut for the UPN - when you use %username% it pulls the SAM, i'd like to use that notation to pull in the UPN.  

thanks!
Active DirectoryWindows Server 2008

Avatar of undefined
Last Comment
-tjs
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

No downside if you need to exceed the limit.  I doubt samaccountname will every go away.  I think when Windows 2000 initially came out there was a hope that the UPN would take off as the default login name but really it hasn't.  Not sure why that never happened.

I haven't tested %userprinciapalname%...not sure on that one.

Thanks

Mike
ASKER CERTIFIED SOLUTION
Avatar of -tjs
-tjs
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of jhaff
jhaff
Flag of Afghanistan image

ASKER

no go on the %userprincipalname%... anyone know where i can find a list of the %_% variables?
SOLUTION
Avatar of -tjs
-tjs
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Windows Server 2008
Windows Server 2008

Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.

86K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo