The BuildTrusteeWithName function initializes a TRUSTEE structure. The caller specifies the trustee name. The function sets other members of the structure to default values.
VOID BuildTrusteeWithName(
PTRUSTEE pTrustee, // pointer to the structure to initialize
LPTSTR pName // name of the trustee to put in the structure
);
Member | Value |
---|---|
pMultipleTrustee | NULL |
MultipleTrusteeOperation | NO_MULTIPLE_TRUSTEE |
TrusteeForm | TRUSTEE_IS_NAME |
TrusteeType | TRUSTEE_IS_UNKNOWN |
None.
Windows NT: Requires version 4.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in aclapi.h.
Import Library: Use advapi32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Access Control Overview, Access Control Functions, BuildTrusteeWithSid, TRUSTEE