BuildTrusteeWithName  L6MHUV 

[New - Windows NT]

The BuildTrusteeWithName function initializes a TRUSTEE2GKCZJV 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

   );

 

 

Parameters

pTrustee

Pointer to a TRUSTEE structure to initialize. The BuildTrusteeWithName function does not allocate any memory. If this parameter is NULL, the function does nothing.

pName

Pointer to a null-terminated string that contains the name of the trustee for the ptstrName member of the TRUSTEE structure. The BuildTrusteeWithName function sets the other members of the TRUSTEE structure as follows:

Member

Value

pMultipleTrustee

NULL

MultipleTrusteeOperation

NO_MULTIPLE_TRUSTEE

TrusteeForm

TRUSTEE_IS_NAME

TrusteeType

TRUSTEE_IS_UNKNOWN

 

Return Values

None.

See Also

BuildTrusteeWithSid, TRUSTEE