GetTrusteeForm function

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.

Syntax


TRUSTEE_FORM WINAPI GetTrusteeForm(
  _In_ PTRUSTEE pTrustee
);

Parameters

pTrustee [in]

A pointer to a TRUSTEE structure.

Return value

The return value is one of the constants from the TRUSTEE_FORM 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

GetTrusteeFormW (Unicode) and GetTrusteeFormA (ANSI)

See also

Access Control Overview
Basic Access Control Functions
GetTrusteeName
GetTrusteeType
TRUSTEE
TRUSTEE_FORM

 

 

Show: