System.Security.Principal.IPrincipal user; user = System.Web.HttpContext.Current.User; System.Security.Principal.IIdentity identity; identity = user.Identity; TextBox1.Text = identity.Name.Substring(identity.Name.IndexOf(@"\") + 1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)