|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| -
| Header File
| winnt.h
| Unicode
| No
| Platform Notes
| None
|
|
|
PRIVILEGE_SET
The
PRIVILEGE_SET structure specifies a set of privileges. It is also used to indicate which,
if any, privileges are held by a user or group requesting access to an object.
typedef struct _PRIVILEGE_SET { // ps
DWORD PrivilegeCount;
DWORD Control;
LUID_AND_ATTRIBUTES Privilege[ANYSIZE_ARRAY];
} PRIVILEGE_SET;
Members
PrivilegeCount
Specifies the number of privileges in the privilege set.
Control
Specifies a control flag related to the privileges. The
PRIVILEGE_SET_ALL_NECESSARY control flag is currently defined. It indicates that all of the specified
privileges must be held by the process requesting access. If this flag is not
set, the presence of any privileges in the user's access token grants the
access.
Privilege
Specifies an array of
LUID_AND_ATTRIBUTES structures describing the set's privileges. The following attributes are
defined for privileges:
SE_PRIVILEGE_ENABLED_BY_DEFAULT
|
|
| The privilege is enabled by default.
|
| The privilege is enabled.
|
SE_PRIVILEGE_USED_FOR_ACCESS
|
|
| The privilege was used to gain access to an object or service. This flag is
used to identify the relevant privileges in a set passed by a client application
that may contain unnecessary privileges.
|
Remarks
A privilege is used to control access to an object or service more strictly
than is typical with discretionary access control. A system manager uses
privileges to control which users are able to manipulate system resources. An
application uses privileges when it changes a system-wide resource, such as when it
changes the system time or shuts down the system.
See Also
PrivilegeCheck,
LUID,
LUID_AND_ATTRIBUTES
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database