This topic has not yet been rated - Rate this topic

GetTrusteeType function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2003

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

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ