Thanks for your reply. Would it be possible to obtain the advapi32.dll
from a 2003 Server and use it in XP to get access to that function? The
reason I dont want to use CreateProcessWithLogonW is because it requires
a username and password be passed in as parameters to the function,
which is not very deployable to other machines where the hardcoded
username/password might not have the same rights (i'm trying to avoid
having to create a domain username just for this purpose). I figured if
I could use the CreateProcessWithTokenW function, with the token of the
user accessing the aspx page (from WindowsIdentity.GetCurrent().Token,
then use DuplicateTokenEx, also from advapi32.dll), then I could run my
process without having to know the actual username/password of the user
accessing the page (granted they had access to do whatever the external
process is trying to run). Any thoughts would be appreciated, thank
you...
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!