public class WindowsIdentityImpersonationContextImpl extends Object implements IWindowsImpersonationContext
| Constructor and Description |
|---|
WindowsIdentityImpersonationContextImpl(com.sun.jna.platform.win32.WinNT.HANDLE windowsIdentity)
Impersonate a logged on user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
revertToSelf()
Terminate the impersonation of a client application.
|
public WindowsIdentityImpersonationContextImpl(com.sun.jna.platform.win32.WinNT.HANDLE windowsIdentity)
windowsIdentity - Windows identity obtained via LogonUser.public void revertToSelf()
IWindowsImpersonationContextrevertToSelf in interface IWindowsImpersonationContextCopyright © 2010–2020 com.github.waffle. All rights reserved.