.
C# Signature:
[DllImport("advapi32.dll", SetLastError=true)]
static extern TODO RevertToSelf(TODO);
VB Signature:
Declare Function RevertToSelf Lib "advapi32.dll" () As Integer
User-Defined Types:
None.
Notes:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/reverttoself.asp
Tips & Tricks:
Please add some!
Sample Code:
See ImpersonateLoggedOnUser
Alternative Managed API:
Do you know one? Please contribute it!
Lets the calling thread impersonate the security context of a logged-on user. The user is represented by a token handle.
8/21/2013 11:09:54 PM - -199.89.64.179
