|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||
java.lang.Objectjava.lang.Enum<WbemPrivilegeEnum>
cn.chenlichao.wmi4j.consts.WbemPrivilegeEnum
public enum WbemPrivilegeEnum
The WbemPrivilegeEnum constants define privileges.
These constants are used with SWbemSecurity to grant the privileges required for some operations.
Created by chenlichao on 14-7-28.
| 枚举常量摘要 | |
|---|---|
Audit
20(0x14), SeAuditPrivilege: Required to generate audit-log entries. |
|
Backup
16(0x10), SeBackupPrivilege: Required to perform backup operations. |
|
ChangeNotify
22(0x16), SeChangeNotifyPrivilege: Required to receive notifications of changes to files or directories. |
|
CreatePagefile
14(0xE), SeCreatePagefilePrivilege: Required to create a paging file. |
|
CreatePermanent
15(0xF), SeCreatePermanentPrivilege: Required to create a permanent object. |
|
CreateToken
1(0x1), SeCreateTokenPrivilege: Required to create a primary token. |
|
Debug
19(0x13), SeDebugPrivilege: Required to debug a process. |
|
EnableDelegation
26(0x1A), SeEnableDelegationPrivilege: Required to enable computer and user accounts to be trusted for delegation. |
|
IncreaseBasePriority
13(0xD), SeIncreaseBasePriorityPrivilege: Required to increase the base priority of a process. |
|
IncreaseQuota
4(0x4), SeIncreaseQuotaPrivilege: Required to increase the quota assigned to a process. |
|
LoadDriver
9(0x9), SeLoadDriverPrivilege: Required to load or unload a device driver. |
|
LockMemory
3(0x3), SeLockMemoryPrivilege: Required to lock physical pages in memory. |
|
MachineAccount
5(0x5), SeMachineAccountPrivilege: Required to create a machine account. |
|
ManageVolume
27(0x1B), SeManageVolumePrivilege: Required to perform volume maintenance tasks. |
|
PrimaryToken
2(0x2), SePrimaryTokenPrivilege: Required to assign the primary token of a process. |
|
ProfileSingleProcess
12(0xC), SeProfileSingleProcessPrivilege: Required to gather profiling information for a single process. |
|
RemoteShutdown
23(0x17), SeRemoteShutdownPrivilege: Required to shut down a system using a network request. |
|
Restore
17(0x11), SeRestorePrivilege: Required to perform restore operations. |
|
Security
7(0x7), SeSecurityPrivilege: Required to perform a number of security-related functions, such as controlling and viewing audit messages. |
|
Shutdown
18(0x12), SeShutdownPrivilege: Required to shut down a local system. |
|
SyncAgent
25(0x19), SeSyncAgentPrivilege: Required to synchronize directory service data. |
|
SystemEnvironment
21(0x15), SeSystemEnvironmentPrivilege: Required to modify the nonvolatile RAM of systems that use this type of memory to store configuration information. |
|
SystemProfile
10(0xA), SeSystemProfilePrivilege: Required to gather profiling information for the entire system. |
|
Systemtime
11(0xB), SeSystemtimePrivilege: Required to modify the system time. |
|
TakeOwnership
8(0x8), SeTakeOwnershipPrivilege: Required to take ownership of an object without being granted discretionary access. |
|
Tcb
6(0x6), SeTcbPrivilege: Identifies its holder as part of the trusted computer base. |
|
Undock
24(0x18), SeUndockPrivilege: Required to remove a computer from a docking station. |
|
| 方法摘要 | |
|---|---|
String |
getStrValue()
|
int |
getValue()
|
static WbemPrivilegeEnum |
parse(int value)
|
static WbemPrivilegeEnum |
parse(String strValue)
|
static WbemPrivilegeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static WbemPrivilegeEnum[] |
values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
| 从类 java.lang.Enum 继承的方法 |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| 从类 java.lang.Object 继承的方法 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 枚举常量详细信息 |
|---|
public static final WbemPrivilegeEnum CreateToken
public static final WbemPrivilegeEnum PrimaryToken
public static final WbemPrivilegeEnum LockMemory
public static final WbemPrivilegeEnum IncreaseQuota
public static final WbemPrivilegeEnum MachineAccount
public static final WbemPrivilegeEnum Tcb
public static final WbemPrivilegeEnum Security
public static final WbemPrivilegeEnum TakeOwnership
public static final WbemPrivilegeEnum LoadDriver
public static final WbemPrivilegeEnum SystemProfile
public static final WbemPrivilegeEnum Systemtime
public static final WbemPrivilegeEnum ProfileSingleProcess
public static final WbemPrivilegeEnum IncreaseBasePriority
public static final WbemPrivilegeEnum CreatePagefile
public static final WbemPrivilegeEnum CreatePermanent
public static final WbemPrivilegeEnum Backup
public static final WbemPrivilegeEnum Restore
public static final WbemPrivilegeEnum Shutdown
public static final WbemPrivilegeEnum Debug
public static final WbemPrivilegeEnum Audit
public static final WbemPrivilegeEnum SystemEnvironment
public static final WbemPrivilegeEnum ChangeNotify
public static final WbemPrivilegeEnum RemoteShutdown
public static final WbemPrivilegeEnum Undock
public static final WbemPrivilegeEnum SyncAgent
public static final WbemPrivilegeEnum EnableDelegation
public static final WbemPrivilegeEnum ManageVolume
| 方法详细信息 |
|---|
public static WbemPrivilegeEnum[] values()
for (WbemPrivilegeEnum c : WbemPrivilegeEnum.values()) System.out.println(c);
public static WbemPrivilegeEnum valueOf(String name)
name - 要返回的枚举常量的名称。
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentExceptionpublic int getValue()
public String getStrValue()
public static WbemPrivilegeEnum parse(int value)
public static WbemPrivilegeEnum parse(String strValue)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||