2
votes
2answers
192 views

How to check username/accountname under which the code runs?

We want piece of code which we can paste in the code behind and get the username under which code runs for:- (usually .NET code runs under account of application pool) Timer job. Event receiver. ...
1
vote
1answer
607 views

Changing the user account of the SharePoint applicaton pool returns the error “Cannot connect to the configuration database”

I am trying to debug an issue regarding the proxy setting in web.config. Currentley it is set to: <system.net> <defaultProxy enabled="true" useDefaultCredentials="true"> ...