IWindowsIdentitypublic class WindowsIdentityImpl extends Object implements IWindowsIdentity
| Constructor | Description |
|---|---|
WindowsIdentityImpl(com.sun.jna.platform.win32.WinNT.HANDLE newWindowsIdentity) |
Instantiates a new windows identity impl.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
dispose() |
Dispose of the Windows identity.
|
String |
getFqn() |
Fully qualified name.
|
IWindowsAccount[] |
getGroups() |
Group memberships.
|
byte[] |
getSid() |
Sid.
|
String |
getSidString() |
Sid.
|
IWindowsImpersonationContext |
impersonate() |
Impersonate a logged on user.
|
boolean |
isGuest() |
Returns true if the identity represents a Guest account.
|
public WindowsIdentityImpl(com.sun.jna.platform.win32.WinNT.HANDLE newWindowsIdentity)
newWindowsIdentity - the new windows identitypublic String getFqn()
IWindowsIdentitygetFqn in interface IWindowsIdentitypublic IWindowsAccount[] getGroups()
IWindowsIdentitygetGroups in interface IWindowsIdentitypublic byte[] getSid()
IWindowsIdentitygetSid in interface IWindowsIdentitypublic String getSidString()
IWindowsIdentitygetSidString in interface IWindowsIdentitypublic void dispose()
IWindowsIdentitydispose in interface IWindowsIdentitypublic IWindowsImpersonationContext impersonate()
IWindowsIdentityimpersonate in interface IWindowsIdentitypublic boolean isGuest()
IWindowsIdentityisGuest in interface IWindowsIdentityCopyright © 2010–2018 com.github.waffle. All rights reserved.