java.lang.Objectcom.install4j.api.windows.ElevationState
public class ElevationState
Enumeration class for the different elevation states the current process can be in.
Field Summary | |
---|---|
static ElevationState |
ELEVATION_STATE_DEFAULT
The current process is not limited and not elevated on Vista or higher. |
static ElevationState |
ELEVATION_STATE_FULL
The current process was elevated and runs with full rights. |
static ElevationState |
ELEVATION_STATE_LIMITED
The current process runs with limited rights. |
static ElevationState |
ELEVATION_STATE_NOT_APPLICABLE
All processes on a system with a Windows version previous to Vista. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElevationState ELEVATION_STATE_NOT_APPLICABLE
public static final ElevationState ELEVATION_STATE_DEFAULT
Util.hasFullAdminRights()
.
public static final ElevationState ELEVATION_STATE_LIMITED
public static final ElevationState ELEVATION_STATE_FULL
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object