
getting current login user name
Not sure if you can get the NTLogin using JScript, but you can fake it using
asp and
VBScript:
function getNTLogin()
{
return '<%=Request.ServerVariables("LOGON_USER")%>';
Quote:
}
when the page renders, the user's logon will be enclosed in the single
quotes.
Steve
Quote:
> Hello all,
> does anyone know how I can get the name of the current logged in user from
> jscript? Any input would be greatly appreciated. Thanks.