Archive

Posts Tagged ‘domen’

identification of domen user

Wednesday, 23 April, 2008 Leave a comment

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

Categories: ASP.NET 2.0, C# Tags: , ,