How to create an SPSite object with the token from the SSP app pool user?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think what you are asking for is to elevate the current context to the highest level.
You can achieve this by Running Commands with Elevated Privileges in Windows SharePoint Services 3.0
See also SPSecurity.RunWithElevatedPrivileges Method
There shouldn’t be a need to mess with tokens.