C# ASP.NET & Impersonation

B

Bruce Barker

you can call it anytime after you have a primary token. not sure why you
would load a profile, its not quick, nor is it needed to print. you would
also need to make the impersonated account an admin. note, you can only have
one profile per process, so don't switch.

-- bruce (sqlwork.com)
 
O

Olivier Matrot

I need to use GetTempFileName after impersonation to create the file to
print.
After successfull impersonation, this function still return the path for
ASPNET account.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top