set authentication mode="Windows" in your web.config; and add below code in your Global.aspx page.
void Session_Start(object sender, EventArgs e) {
if (User.Identity.IsAuthenticated) {
string Userstring = User.Identity.Name;
string[] StrUser; char chrDelim = '\\';
StrUser = Userstring.Split(chrDelim); } }