aclapi.h header

This header is used by Security and Identity. For more information, see:

aclapi.h contains the following programming interfaces:

Functions

 
BuildExplicitAccessWithNameA

Initializes an EXPLICIT_ACCESS structure with data specified by the caller. The trustee is identified by a name string. (ANSI)
BuildExplicitAccessWithNameW

Initializes an EXPLICIT_ACCESS structure with data specified by the caller. The trustee is identified by a name string. (Unicode)
BuildSecurityDescriptorA

Allocates and initializes a new security descriptor. (ANSI)
BuildSecurityDescriptorW

Allocates and initializes a new security descriptor. (Unicode)
BuildTrusteeWithNameA

Initializes a TRUSTEE structure. The caller specifies the trustee name. The function sets other members of the structure to default values. (ANSI)
BuildTrusteeWithNameW

Initializes a TRUSTEE structure. The caller specifies the trustee name. The function sets other members of the structure to default values. (Unicode)
BuildTrusteeWithObjectsAndNameA

Initializes a TRUSTEE structure with the object-specific access control entry (ACE) information and initializes the remaining members of the structure to default values. The caller also specifies the name of the trustee. (ANSI)
BuildTrusteeWithObjectsAndNameW

Initializes a TRUSTEE structure with the object-specific access control entry (ACE) information and initializes the remaining members of the structure to default values. The caller also specifies the name of the trustee. (Unicode)
BuildTrusteeWithObjectsAndSidA

Initializes a TRUSTEE structure with the object-specific access control entry (ACE) information and initializes the remaining members of the structure to default values. (ANSI)
BuildTrusteeWithObjectsAndSidW

Initializes a TRUSTEE structure with the object-specific access control entry (ACE) information and initializes the remaining members of the structure to default values. (Unicode)
BuildTrusteeWithSidA

Initializes a TRUSTEE structure. The caller specifies the security identifier (SID) of the trustee. The function sets other members of the structure to default values and does not look up the name associated with the SID. (ANSI)
BuildTrusteeWithSidW

Initializes a TRUSTEE structure. The caller specifies the security identifier (SID) of the trustee. The function sets other members of the structure to default values and does not look up the name associated with the SID. (Unicode)
FreeInheritedFromArray

Frees memory allocated by the GetInheritanceSource function.
GetAuditedPermissionsFromAclA

Retrieves the audited access rights for a specified trustee. (ANSI)
GetAuditedPermissionsFromAclW

Retrieves the audited access rights for a specified trustee. (Unicode)
GetEffectiveRightsFromAclA

Retrieves the effective access rights that an ACL structure grants to a specified trustee. The trustee's effective access rights are the access rights that the ACL grants to the trustee or to any groups of which the trustee is a member. (ANSI)
GetEffectiveRightsFromAclW

Retrieves the effective access rights that an ACL structure grants to a specified trustee. The trustee's effective access rights are the access rights that the ACL grants to the trustee or to any groups of which the trustee is a member. (Unicode)
GetExplicitEntriesFromAclA

Retrieves an array of structures that describe the access control entries (ACEs) in an access control list (ACL). (ANSI)
GetExplicitEntriesFromAclW

Retrieves an array of structures that describe the access control entries (ACEs) in an access control list (ACL). (Unicode)
GetInheritanceSourceA

Returns information about the source of inherited access control entries (ACEs) in an access control list (ACL). (ANSI)
GetInheritanceSourceW

Returns information about the source of inherited access control entries (ACEs) in an access control list (ACL). (Unicode)
GetNamedSecurityInfoA

Retrieves a copy of the security descriptor for an object specified by name. (ANSI)
GetNamedSecurityInfoW

Retrieves a copy of the security descriptor for an object specified by name. (Unicode)
GetSecurityInfo

Retrieves a copy of the security descriptor for an object specified by a handle.
GetTrusteeFormA

Retrieves the trustee name from the specified TRUSTEE structure. This value indicates whether the structure uses a name string or a security identifier (SID) to identify the trustee. (ANSI)
GetTrusteeFormW

Retrieves the trustee name from the specified TRUSTEE structure. This value indicates whether the structure uses a name string or a security identifier (SID) to identify the trustee. (Unicode)
GetTrusteeNameA

Retrieves the trustee name from the specified TRUSTEE structure. (ANSI)
GetTrusteeNameW

Retrieves the trustee name from the specified TRUSTEE structure. (Unicode)
GetTrusteeTypeA

Retrieves the trustee type from the specified TRUSTEE structure. This value indicates whether the trustee is a user, a group, or the trustee type is unknown. (ANSI)
GetTrusteeTypeW

Retrieves the trustee type from the specified TRUSTEE structure. This value indicates whether the trustee is a user, a group, or the trustee type is unknown. (Unicode)
LookupSecurityDescriptorPartsA

Retrieves security information from a self-relative security descriptor. (ANSI)
LookupSecurityDescriptorPartsW

Retrieves security information from a self-relative security descriptor. (Unicode)
SetEntriesInAclA

Creates a new access control list (ACL) by merging new access control or audit control information into an existing ACL structure. (ANSI)
SetEntriesInAclW

Creates a new access control list (ACL) by merging new access control or audit control information into an existing ACL structure. (Unicode)
SetNamedSecurityInfoA

Sets specified security information in the security descriptor of a specified object. (ANSI)
SetNamedSecurityInfoW

Sets specified security information in the security descriptor of a specified object. (Unicode)
SetSecurityInfo

Sets specified security information in the security descriptor of a specified object. The caller identifies the object by a handle.
TreeResetNamedSecurityInfoA

Resets specified security information in the security descriptor of a specified tree of objects. (ANSI)
TreeResetNamedSecurityInfoW

Resets specified security information in the security descriptor of a specified tree of objects. (Unicode)
TreeSetNamedSecurityInfoA

Sets specified security information in the security descriptor of a specified tree of objects. (ANSI)
TreeSetNamedSecurityInfoW

Sets specified security information in the security descriptor of a specified tree of objects. (Unicode)