Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Null Reference error when getting current user

$
0
0

Hi,

When using SPContext.Current.Web.CurrentUser.LoginName to get current user name, it throw exception null reference error.

Please help.

Thanks in advance


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>