Alex Rivera | Logout

How to get user details in asp.net Windows Authentication

Asked 2010-10-21T09:50:39.260
11

I am using windows Authentication and accessing user name as.

IIdentity winId = HttpContext.Current.User.Identity;
string name = winId.Name;

but i want to get other details like User full name and EmailID.

Edit
Report

1 Answer

-2

Cast it to the specific Identity, for example WindowsIdentity

answered 2010-10-21T09:57:40.890

Your Answer