Muokkaa

Jaa


__Trustee class

The __Trustee abstract system class represents a trustee. Either a name or an SID (byte array) can be used.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class __Trustee
{
  string Domain;
  string Name;
  uint8  SID[];
  uint32 SidLength;
  string SidString;
  uint64 TIME_CREATED;
};

Members

The __Trustee class has these types of members:

Properties

The __Trustee class has these properties.

Domain

Data type: string

Access type: Read/write

Domain portion of the account.

Name

Data type: string

Access type: Read/write

Name portion of the account.

SID

Data type: uint8 array

Access type: Read/write

The SID of the trustee in the binary byte array form.

SidLength

Data type: uint32

Access type: Read/write

The length of the SID in bytes.

SidString

Data type: string

Access type: Read/write

The SID of the trustee in the string format, for example, "S-1-1-0".

TIME_CREATED

Data type: uint64

Access type: Read-only

Time in the CIM_DATETIME format when the security descriptor was created.

Remarks

This class provides properties that are inherited by the Win32_Trustee class, which is a member of the Win32_SecurityDescriptor class. For more information, see WMI Security Descriptor Objects and Changing Access Security on Securable Objects. For more information about ACEs, see Access Control Components.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

WMI System Classes

Win32_Trustee

Maintaining WMI Security