public class NTSystem extends Object
Constructor | Description |
---|---|
NTSystem() |
Instantiate an
NTSystem and load
the native library to access the underlying system information. |
Modifier and Type | Method | Description |
---|---|---|
String |
getDomain() |
Get the domain for the current NT user.
|
String |
getDomainSID() |
Get a printable SID for the current NT user's domain.
|
String[] |
getGroupIDs() |
Get the printable group SIDs for the current NT user.
|
long |
getImpersonationToken() |
Get an impersonation token for the current NT user.
|
String |
getName() |
Get the username for the current NT user.
|
String |
getPrimaryGroupID() |
Get a printable primary group SID for the current NT user.
|
String |
getUserSID() |
Get a printable SID for the current NT user.
|
public NTSystem()
NTSystem
and load
the native library to access the underlying system information.public String getName()
public String getDomain()
public String getDomainSID()
public String getUserSID()
public String getPrimaryGroupID()
public String[] getGroupIDs()
public long getImpersonationToken()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1998, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b154-1