Platform SDK: Access Control |
The BuildTrusteeWithObjectsAndName 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 name of the trustee.
VOID BuildTrusteeWithObjectsAndName( PTRUSTEE pTrustee, POBJECTS_AND_NAME pObjName, SE_OBJECT_TYPE ObjectType, LPSTR ObjectTypeName, LPSTR InheritedObjectTypeName, LPSTR Name );
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, BuildTrusteeWithSid, BuildTrusteeWithObjectsAndSid, TRUSTEE, OBJECTS_AND_NAME, SE_OBJECT_TYPE, Object-Specific ACEs