The GetTrusteeType function retrieves the value assigned to the TrusteeType member of a 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 // pointer to the TRUSTEE structure
);
The return value is one of the constants from the TRUSTEE_TYPE enumeration.
Windows NT: Requires version 4.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in aclapi.h.
Import Library: Use advapi32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Access Control Overview, Access Control Functions, TRUSTEE, TRUSTEE_TYPE