Export (0) Print
Expand All
Expand Minimize

GetTrusteeType 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 WINAPI GetTrusteeType(
  _In_opt_  PTRUSTEE pTrustee
);

Parameters

pTrustee [in, optional]

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]

Header

Aclapi.h

Library

Advapi32.lib

DLL

Advapi32.dll

Unicode and ANSI names

GetTrusteeTypeW (Unicode) and GetTrusteeTypeA (ANSI)

See also

Access Control Overview
Basic Access Control Functions
TRUSTEE
TRUSTEE_TYPE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft