Platform SDK: Access Control

GetTrusteeType

The GetTrusteeType function retrieves the trustee type from the specified TRUSTEE structure. This value indicates whether the trustee is a user, a group, or the trustee type is unknown.

TRUSTEE_TYPE GetTrusteeType(
  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_TYPE 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, TRUSTEE, TRUSTEE_TYPE