G
Guest
I know that you can do different things to enable different types of
impersonation using the config files (like set it up so the end user is the
one being impersonated, or set it up so the asp.net WP runs as a specific
domain user).
But, what I am wondering if it is possible to change the impersonation
account via code? For example, lets say that for 1 function you need to
access a remote file share to grab a file. Is there a way to, while that 1
function is running, use the privledges of a different user and then return
to the original privledges after the function has retreived the file?
impersonation using the config files (like set it up so the end user is the
one being impersonated, or set it up so the asp.net WP runs as a specific
domain user).
But, what I am wondering if it is possible to change the impersonation
account via code? For example, lets say that for 1 function you need to
access a remote file share to grab a file. Is there a way to, while that 1
function is running, use the privledges of a different user and then return
to the original privledges after the function has retreived the file?