Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created an ashx and placed it in _layouts folder

I am trying to get SPContext.Current.Web.CurrentUser in the ashx code but I am not getting it, it is coming out null.

Let me know what could be the issue here. My wss site is on windows authentication and I do login to reach the link which redirects me to the _layouts/ ashx page.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.