Export (0) Print
Expand All
3 out of 3 rated this helpful - Rate this topic

Win32_SID class

The Win32_SIDWMI 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

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

Length of the SID in bytes.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

Secrcw32.mof

DLL

CIMWin32.dll

See also

Operating System Classes
WMI Security Descriptor Objects
Win32_SecurityDescriptor
Maintaining WMI Security

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.