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
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 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
- Operating System Classes
- WMI Security Descriptor Objects
- Win32_SecurityDescriptor
- Maintaining WMI Security
Send comments about this topic to Microsoft
Build date: 11/19/2012