Platform SDK: Access Control |
The BuildTrusteeWithObjectsAndSid function initializes a TRUSTEE structure with the specified object-specific ACE information, initializing the remaining members of the structure to default values. The caller also specifies the SID of the trustee.
VOID BuildTrusteeWithObjectsAndSid( PTRUSTEE pTrustee, POBJECTS_AND_SID pObjSid, GUID *pObjectGuid, GUID *pInheritedObjectGuid, PSID pSid );
This function does not return a value.
This function does not allocate memory for the TRUSTEE, OBJECTS_AND_NAME, and SE_OBJECT_TYPE structures.
For more information on object-specific ACEs, refer to Object-Specific ACEs.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Aclapi.h.
Library: Use Advapi32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows 2000.
Access Control Overview, Access Control Functions, BuildTrusteeWithName, BuildTrusteeWithObjectsAndName, BuildTrusteeWithSid, TRUSTEE, SID, OBJECTS_AND_NAME, SE_OBJECT_TYPE, Object-Specific ACEs