Impersonate from win2000 to winXP

  • Thread starter Thread starter Grei
  • Start date Start date
G

Grei

how can i impersonate from win2000 to WinXP?
in MSDN says: (gives example how to implemet it but not with win2000, and it
doesn't say what to do on win2000!!!)
any ideas?
workarounds?
Thanx!


// This sample demonstrates the use of the WindowsIdentity class to
impersonate a user.
// IMPORTANT NOTES:
// This sample can be run only on Windows XP. The default Windows 2000
security policy
// prevents this sample from executing properly, and changing the policy to
allow
// proper execution presents a security risk.

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfSystemSecurityPrincipalWindowsIdentityClassImpersonateTopic.htm
 
Grei:

Are you asking how to perform impersonation on Windows 2000 with the
same code?
 
No, it says it is not possible to do it with that code, so my question is
how should i do it?
Thanx
 
Back
Top