public class WindowsIdentityImpersonationContextImpl extends Object implements IWindowsImpersonationContext
Constructor and Description |
---|
WindowsIdentityImpersonationContextImpl(com.sun.jna.platform.win32.WinNT.HANDLE windowsIdentity)
Impersonate a logged on user.
|
public WindowsIdentityImpersonationContextImpl(com.sun.jna.platform.win32.WinNT.HANDLE windowsIdentity)
windowsIdentity
- Windows identity obtained via LogonUser.public void revertToSelf()
IWindowsImpersonationContext
revertToSelf
in interface IWindowsImpersonationContext
Copyright © 2010–2015 com.github.dblock. All rights reserved.