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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
GetTrusteeTypeW (Unicode) and GetTrusteeTypeA (ANSI) |
See also