ACTRL_ACCESS_ENTRYW structure (accctrl.h)
Contains access-control information for a specified trustee. This structure stores information equivalent to the access-control information stored in an ACE.
Syntax
typedef struct _ACTRL_ACCESS_ENTRYW {
TRUSTEE_W Trustee;
ULONG fAccessFlags;
ACCESS_RIGHTS Access;
ACCESS_RIGHTS ProvSpecificAccess;
INHERIT_FLAGS Inheritance;
LPWSTR lpInheritProperty;
} ACTRL_ACCESS_ENTRYW, *PACTRL_ACCESS_ENTRYW;
Members
Trustee
A TRUSTEE structure that identifies the user, group, or program (such as a service) to which the access-control entry applies.
fAccessFlags
Indicates how the access rights specified by the Access and ProvSpecificAccess members apply to the trustee. This member can be one of the following values. If you are using this structure with the COM implementation of IAccessControl, this member must be ACTRL_ACCESS_ALLOWED or ACTRL_ACCESS_DENIED.
Access
A bitmask that specifies the access rights that the entry allows, denies, or audits for the trustee.
This member must use the provider-independent access flags, such as ACTRL_READ_CONTROL, rather than access flags such as READ_CONTROL. The provider for the object type converts these provider-independent flags to the corresponding provider-specific flags.
If you are using this structure with the COM implementation of IAccessControl, this member must be COM_RIGHTS_EXECUTE.
ACTRL_SYSTEM_ACCESS
ACTRL_DELETE
ACTRL_READ_CONTROL
ACTRL_CHANGE_ACCESS
ACTRL_CHANGE_OWNER
ACTRL_SYNCHRONIZE
ACTRL_STD_RIGHTS_ALL
ACTRL_STD_RIGHT_REQUIRED
COM_RIGHTS_EXECUTE
COM_RIGHTS_EXECUTE_LOCAL
COM_RIGHTS_EXECUTE_REMOTE
COM_RIGHTS_ACTIVATE_LOCAL
COM_RIGHTS_ACTIVATE_REMOTE
ProvSpecificAccess
A bitmask that specifies access rights specific to the provider type. The functions that use the ACTRL_ACCESS_ENTRY structure pass these bits on to the provider without interpreting them. In most cases, this member should be 0.
Inheritance
A set of bit flags that determines whether other containers or objects can inherit the access-control entry from the primary object to which the access list is attached. If you are using this structure with the COM implementation of IAccessControl, this value must be NO_INHERITANCE, which indicates that the access-control entry is not inheritable. Otherwise, this value can be NO_INHERITANCE or it can be a combination of the following values.
lpInheritProperty
A pointer to a null-terminated string that identifies the object types that can inherit the entry. If you are using this structure with the COM implementation of IAccessControl, this member must be NULL.
Remarks
Note
The accctrl.h header defines ACTRL_ACCESS_ENTRY as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | accctrl.h |