LOGON_USER

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I'm in the process of converting a ASP application to C#. In my app I use
LOGON_USER to get the name of the person accessing the application. I
display the full name of the person not their network logon ID

How can i do this with C#?
 
Mike,

There are two things that you have to do. The first is to set the
impersonate attribute for the <identity> tag in web.config to true. This
allows the User property on the page to be populated with the principal that
made the request.

Hope this helps.
 
Back
Top