first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

VBScript and ASP Code Snippet: LOGON_USER Split(); vLoginDomainName, vLoginUserName

Dim vLogin : vLogin = Request.ServerVariables("LOGON_USER")

Dim vLoginDomainName, vLoginUserName If InStr(1,vLogin,"\\",vbTextCompare) > 0 Then vLoginDomainName = Split(vLogin,"\\",-1,vbTextCompare)(0) vLoginUserName = Split(vLogin,"\\",-1,vbTextCompare)(1) End If

mod date: 2002-05-28T21:36:23.000Z