CSid Class
This class is a wrapper for a SID (security identifier) structure.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CSid
Members
Public Typedefs
Name |
Description |
---|---|
An array of CSid objects. |
Public Constructors
Name |
Description |
---|---|
The constructor. |
|
The destructor. |
Public Methods
Name |
Description |
---|---|
Returns the name of the account associated with the CSid object. |
|
Returns the name of the domain associated with the CSid object. |
|
Tests SID (security identifier) prefixes for equality. |
|
Returns the length of the CSid object. |
|
Returns a pointer to a SID structure. |
|
Returns a pointer to the SID_IDENTIFIER_AUTHORITY structure. |
|
Returns a specified subauthority in a SID structure. |
|
Returns the subauthority count. |
|
Tests the CSid object for validity. |
|
Updates the CSid object given the account name and domain, or an existing SID structure. |
|
Returns the ID string. |
|
Returns a description of the state of the CSid object. |
Operators
Assignment operator. |
|
Casts a CSid object to a pointer to a SID structure. |
Global Operators
Tests two security descriptor objects for equality |
|
Tests two security descriptor objects for inequality |
|
Compares relative value of two security descriptor objects. |
|
Compares relative value of two security descriptor objects. |
|
Compares relative value of two security descriptor objects. |
|
Compares relative value of two security descriptor objects. |
Remarks
The SID structure is a variable-length structure used to uniquely identify users or groups.
Applications should not modify the SID structure directly, but instead use the methods provided in this wrapper class. See also AtlGetOwnerSid, AtlSetGroupSid, AtlGetGroupSid, and AtlSetOwnerSid.
For an introduction to the access control model in Windows, see Access Control in the Windows SDK.
Requirements
Header: atlsecurity.h