identification of domen user

23 04 2008

string domen = HttpContext.Current.User.Identity.Name;
int pos = domen.IndexOf("\\");
string UserName = domen.Substring(pos + 1);


Actions

Information

Leave a comment