|
ProcessAccess Enumeration |
The Microsoft Windows security model enables you to control access to process objects. For more
information about security, see Access-Control Model. When a user logs in, the system collects
a set of data that uniquely identifies the user during the authentication process, and stores
it in an access token.This access token describes the security context of all processes
associated with the user.The security context of a process is the set of credentials given to
the process or the user account that created the process.
Process Security and Access Rights Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [FlagsAttribute]
public enum ProcessAccess
<FlagsAttribute>
Public Enumeration ProcessAccess
[FlagsAttribute]
public enum class ProcessAccess
[<FlagsAttribute>]
type ProcessAccess
Members Member name | Value | Description |
---|
Terminate | 1 |
Required to terminate a process using .
|
CreateThread | 2 |
Required to create a thread.
|
SetSessionId | 4 |
The set session identifier
|
VirtualMemoryOperation | 8 |
Required to perform an operation on the address space of a process (see VirtualProtectEx
and WriteProcessMemory).
|
VirtualMemoryRead | 16 |
Required to read memory in a process using ReadProcessMemory.
|
VirtualMemoryWrite | 32 |
Required to write to memory in a process using WriteProcessMemory.
|
DuplicateHandle | 64 |
Required to duplicate a handle using .
|
CreateProcess | 128 |
Required to create a process.
|
SetQuota | 256 |
Required to set memory limits using .
|
SetInformation | 512 |
Required to set certain information about a process, such as its priority class (see
SetPriorityClass).
|
QueryInformation | 1,024 |
Required to retrieve certain information about a process, such as its token, exit code, and
priority class (see ).
|
QueryLimitedInformation | 4,096 |
Required to retrieve certain information about a process (see
,
,
,
). A handle that has the
access right is automatically granted
.
|
Synchronize | 1,048,576 |
The right to use the object for synchronization. This enables a thread to wait until the
object is in the signaled state. Some object types do not support this access right.
|
AllAccess | 2,035,711 |
All possible access rights for a process object.
|
See Also