How can I get the current logged user information

  • Thread starter Shaminda Illangantilaka
  • Start date
S

Shaminda Illangantilaka

How can I get the current logged user information using ASP.NET
 
J

Joe Kaplan \(MVP - ADSI\)

ASP.NET represents the current authenticated user via the User property on
the HttpContext or Page class.

Joe K.
 
P

Patrick.O.Ige

As Joe adviced use:-
Shaminda use
User.Identity.Name
Or Request.ServerVariables("LOGON_USER")
Hope that helps
Patrick
 

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

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,191
Latest member
BuyKetoBeez

Latest Threads

Top