The GetExplicitEntriesFromAcl function retrieves an array of EXPLICIT_ACCESS structures that describe the access-control entries (ACEs) in an access-control list (ACL).
DWORD GetExplicitEntriesFromAcl(
PACL pacl, |
// pointer to the ACL from which to get entries |
PULONG pcCountOfExplicitEntries, |
// receives number of entries in the list |
PEXPLICIT_ACCESS * pListOfExplicitEntries |
// receives pointer to list of entries |
); |
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is a nonzero error code defined in WINERROR.H.
Each entry in the array of EXPLICIT_ACCESS structures describes access control information from an ACE for a trustee. A trustee can be a user, group, or program (such as a Windows NT service).
Each EXPLICIT_ACCESS structure specifies a set of access rights and an access mode flag that indicates whether the ACE allows, denies, or audits the specified rights.
For a discretionary ACL (DACL), the access mode flag can be one of the following values from the ACCESS_MODE enumeration.
Value |
Meaning |
SET_ACCESS |
Indicates that an access-allowed ACE for the trustee allows the specified access rights. |
DENY_ACCESS |
Indicates that an access-denied ACE for the trustee denies the specified access rights. |
For a system ACL (SACL), the access mode flag can be a combination of the following values from the ACCESS_MODE enumeration.
Value |
Meaning |
SET_AUDIT_SUCCESS |
Indicates that a system-audit ACE for the trustee generates audit messages for successful attempts to use the specified access rights. |
SET_AUDIT_FAILURE |
Indicates that a system-audit ACE for the trustee generates audit messages for failed attempts to use the specified access rights. |
ACCESS_ALLOWED_ACE, ACCESS_DENIED_ACE, ACE, ACL, EXPLICIT_ACCESS, LocalFree, SYSTEM_AUDIT_ACE
file: /Techref/os/win/api/win32/func/src/f31_17.htm, 5KB, , updated: 2000/4/7 12:19, local time: 2024/8/23 02:33,
3.147.140.37:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/tecHREF/os/win/api/win32/func/src/f31_17.htm"> GetExplicitEntriesFromAcl</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.