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

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>