Bagikan melalui


Win32_SID class

The Win32_SID WMI class represents an arbitrary security identifier (SID). This property cannot be enumerated.

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

Syntax

[Dynamic, Provider("SECRCW32"), UUID("{8502C581-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_SID
{
  string AccountName;
  uint8  BinaryRepresentation[];
  string ReferencedDomainName;
  string SID;
  uint32 SidLength;
};

Members

The Win32_SID class has these types of members:

Properties

The Win32_SID class has these properties.

AccountName

Data type: string

Access type: Read-only

Name of the account associated with the SID.

BinaryRepresentation

Data type: uint8 array

Access type: Read-only

SID in binary format.

ReferencedDomainName

Data type: string

Access type: Read-only

Domain of the account associated with the SID.

SID

Data type: string

Access type: Read-only

Qualifiers: Key

SID in string format. The values of the string are as follows (in order).

  1. The literal character "S" (identifies the string as a SID).

  2. The revision level.

  3. Identifier authority value.

  4. One or more subauthority values.

SidLength

Data type: uint32

Access type: Read-only

Qualifiers: Units ("bytes")

Length of the SID in bytes.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
Secrcw32.mof
DLL
CIMWin32.dll

See also

Operating System Classes

WMI Security Descriptor Objects

Win32_SecurityDescriptor

Maintaining WMI Security