Platform SDK: Access Control

GetTrusteeForm

The GetTrusteeForm function retrieves the trustee name from the 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  // trustee structure
);

Parameters

pTrustee
[in] Pointer to a TRUSTEE structure.

Return Values

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

Requirements

  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.

See Also

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