Get SAMAccountName

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ernie FErro (ebferro_at_corryrubber.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 11:35:57 -0500

Could someone tell me how to determine the SAM account name using VBScript
and LDAP? I'm trying to write a login scrip that does stuff based on the
users SAM account name and haven't been able to get anything I've been
trying to work.
TIA
Ernie