Question:
You want to impersonate the authenticating user only when you run a particular section of code.Answer:
You must import [COM] advapi32.dll and use platform specific code.Here is the microsoft article that describes different ways to implement impersonation in an ASP.NET application with sample code.
Impersonation in an ASP.NET application
No comments:
Post a Comment