How to remove the domain name?
Posted
by Dilse Naaz
on Stack Overflow
See other posts from Stack Overflow
or by Dilse Naaz
Published on 2010-05-11T06:18:02Z
Indexed on
2010/05/11
6:24 UTC
Read the original article
Hit count: 243
c#
|sharepoint2007
Hi
I have one sharepoint application, in this i have to show the current user, i used SPContext.Current.Web.CurrentUser.LoginName
. then it returns XXXXXX\abida. But i want only the username like abida. How to achieve this requirement?
© Stack Overflow or respective owner