RunWithElevatedPrivileges behavior in different hosts

  Normal code RunWithElevatedPrivileges
w3wp.exe account of the currently loggedin user to sharepoint account under which runs the “sharepoint web application” application pool
owstimer.exe account under which runs the owstimer.exe service default it is NETWORK SERVICE account under which runs the owstimer.exe service default it is NETWORK SERVICE

As you can see runwithelevatedprivileges in owstimer.exe has no effect.

Custom membership provider:

Under which account runs the request when you use custom membership provider and there is no windows account associated with the user logged in to sharepoint? From my observations it is “Internet Guest Account”.

Advertisements

Tags:

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: