Platform SDK: Access Control |
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, // structure LPTSTR pName // trustee name );
Member | Value |
---|---|
pMultipleTrustee | NULL |
MultipleTrusteeOperation | NO_MULTIPLE_TRUSTEE |
TrusteeForm | TRUSTEE_IS_NAME |
TrusteeType | TRUSTEE_IS_UNKNOWN |
This function does not return a value.
Windows NT/2000: Requires Windows NT 4.0 or later.
Header: Declared in Aclapi.h.
Library: Use Advapi32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.
Access Control Overview, Access Control Functions, BuildTrusteeWithObjectsAndSid, BuildTrusteeWithObjectsAndName, BuildTrusteeWithSid, TRUSTEE