Active Directory Account Info

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

Is there a way to extract the "User logon name" from an
Active Directory account? The "User logon name (pre-
Windows 2000)" field is effectively the UserName
environment variable but I would like to manipulate the
former.
 
Why not take %username% and concatenate the rest of it (@x.y.z)?

Ed

"Barney" said:
Is there a way to extract the "User logon name" from an
Active Directory account? The "User logon name (pre-
Windows 2000)" field is effectively the UserName
environment variable but I would like to manipulate the
former.

Thanks,

Ed

================================================
Ed Siff Computing Consultant
Library Systems CB# 3946
Academic Affairs Libraries UNC-Chapel Hill
(e-mail address removed) 919.962.1288
================================================

"Take me on a trip upon your magic swirlin' ship" -Dylan
 
The Pre-Windows 2000 field is nothing like the other.
Specifically, the "User logon name" field follows the
convention: FirstinitialMiddleinitialLastname (JJSmith)
whereas the pre-Windows 200 field follows the convention:
TwodigitlocationcodeFirstInititalMiddleinitialLastinitial
(ZZJJS).

-----Original Message-----
Why not take %username% and concatenate the rest of it (@x.y.z)?
 
Back
Top