GetTrusteeTypeA function

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.

Syntax

TRUSTEE_TYPE GetTrusteeTypeA(
  PTRUSTEE_A pTrustee
);

Parameters

pTrustee

A pointer to a TRUSTEE structure.

Return Value

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

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header aclapi.h
Library Advapi32.lib
DLL Advapi32.dll

See Also

Access Control Overview

Basic Access Control Functions

TRUSTEE

TRUSTEE_TYPE