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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top