Hello..

I'm looking how to get the username from the client.

I use following code:
Code:
Dim objWinId As System.Security.Principal.WindowsIdentity=System.Security.Principal.WindowIdentity.GetCurrent
Dim strUserName() As String = Split(objWinId.Name, "\")
Dim sUsername As String = strUserName(1).ToLower

        Me.txtPersoon.Text = sUsername
But it only works when I run it on my developing machine. When i run it from the server it wont take the usernamen from the visitor..

any suggestions?

nickname