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.