By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,180 Members | 1,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,180 IT Pros & Developers. It's quick & easy.

Impersonate from win2000 to winXP

P: n/a
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/frlrfSystemSecurityPrincipalWindowsIdentityClassIm personateTopic.htm
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Grei:

Are you asking how to perform impersonation on Windows 2000 with the
same code?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 17:50:08 +0100, "Grei"
<da*****************@zg.htnet.hr> wrote:
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/frlrfSystemSecurityPrincipalWindowsIdentityClassIm personateTopic.htm


Nov 16 '05 #2

P: n/a
No, it says it is not possible to do it with that code, so my question is
how should i do it?
Thanx

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:c5********************************@4ax.com...
Grei:

Are you asking how to perform impersonation on Windows 2000 with the
same code?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 17:50:08 +0100, "Grei"
<da*****************@zg.htnet.hr> wrote:
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/frlrfSystemSecurityPrincipalWindowsIdentityClassIm personateTopic.htm

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.