Archive

Posts Tagged ‘identification’

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);

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