public class WindowsIdentityImpersonationContextImpl extends java.lang.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 IWindowsImpersonationContext