Here is some code I found to get the nt user name using VB. However, I have not been able to successfully transfer the functions to ASP. <br><br><br>Private Const UNKNOWN = _<br>"(Value Unknown Because System Call Failed)"<br><br>Private Declare Function GetUserName Lib "advapi32.dll" _<br>Alias "GetUserNameA" (ByVal lpBuffer As String, nSize _<br>As Long) As Long<br><br>Public Function GetCurrentUserName() As String<br><br>Dim l As Long<br>Dim sUser As String<br><br>sUser = Space$(255)<br>l = GetUserName(sUser, 255)<br><br>'strip null terminator<br><br>If l <> 0 Then<br> GetCurrentUserName = Left(sUser, InStr(sUser, Chr(0)) - 1)<br><br><br>Else<br> Err.Raise Err.LastDllError, , _<br> "A system call returned an error code of " _<br> & Err.LastDllError<br>End If<br><br>End Function