GetTrusteeForm

The GetTrusteeForm function retrieves the value assigned to the TrusteeForm member of a specified TRUSTEE structure. This value indicates whether the structure uses a name string or a security identifier (SID) to identify the trustee.

TRUSTEE_FORM GetTrusteeForm(
  PTRUSTEE pTrustee  // pointer to a TRUSTEE structure
);
 

Parameters

pTrustee
Pointer to a TRUSTEE structure.

Return Values

The return value is one of the constants from the TRUSTEE_FORM enumeration.

QuickInfo

  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.

See Also

Access Control Overview, Access Control Functions, GetTrusteeName, GetTrusteeType, TRUSTEE, TRUSTEE_FORM