3
Answers

how to get the user name without domain name

srinivas rao

srinivas rao

6y
6.4k
1
Hi Team,
 
am using following way to get the user name but i am getting domain name also but i dont want to get the domain name.
 
System.Web.HttpContext.Current.User.Identity.Name 
 
Please let me know how to get the user name with out domain name.
 
Thanks in Advance 
Answers (3)