How to figure out the domain user?

  • Thread starter Thread starter Enric
  • Start date Start date
E

Enric

Hi all of you,

I was wondering how can I figure out the domain username logged in my
application.
I remember that when I run Access I had System() function which returned the
name of the domain user.

Thanks in advance and regards,
 
My.User.Name,
but if you start with sub main, you'll need to call
My.User.InitializeWithWindowsUser()
first.

hth
 
You are <%=Request.ServerVariables("LOGON_USER")%> and Today is <
% =Now%> <br />
Running <%=Request.ServerVariables("SCRIPT_NAME")%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top