Platform SDK: Access Control

TRUSTEE_FORM

The TRUSTEE_FORM enumeration type contains values that indicate the type of data pointed to by the ptstrName member of a TRUSTEE structure.

typedef enum _TRUSTEE_FORM {
  TRUSTEE_IS_SID,
  TRUSTEE_IS_NAME,
  TRUSTEE_BAD_FORM
  TRUSTEE_IS_OBJECTS_AND_SID,
  TRUSTEE_IS_OBJECTS_AND_NAME
} TRUSTEE_FORM;
 
Enumerator Value Meaning
TRUSTEE_IS_SID The ptstrName member is a pointer to a security identifier (SID) that identifies the trustee.
TRUSTEE_IS_NAME The ptstrName member is a pointer to null-terminated string that identifies the trustee.
TRUSTEE_BAD_FORM Indicates an invalid trustee form.
TRUSTEE_IS_OBJECTS_AND_SID Windows 2000: The ptstrName member is a pointer to an OBJECTS_AND_SID structure that contains the SID of the trustee and the GUIDs of the object types in an object-specific ACE.
TRUSTEE_IS_OBJECTS_AND_NAME Windows 2000: The ptstrName member is a pointer to an OBJECTS_AND_NAME structure that contains the name of the trustee and the names of the object types in an object-specific ACE.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Header: Declared in Accctrl.h.

See Also

Access Control Overview, Access Control Enumeration Types, TRUSTEE