Can't think why it wouldn't, although I'd prefer to use the LDAP provider vs. the WINNT provider. If nothing else, it would work better for multi-domain environments.
Are you having trouble with it? al -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Gauss Sent: Tuesday, February 22, 2005 2:02 PM To: [email protected] Cc: NT System Admin Issues Subject: [ActiveDir] Get username from AD using ASP I currently have some Intranet sites setup that grab the username of the person logged in: UsrString = Request.ServerVariables("LOGON_USER") 'Parse the "domain\username" format into "domain" and "username" UsrName = split(UsrString,"\",-1,1) Set usr = GetObject("WinNT://" & UsrName(0) & "/" & UsrName(1) & ",User") Will this work with a Windows 2000/2003 native domain? List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
