Principal.Sid Property

Definition

Gets the Security ID (SID) of the principal.

public:
 property System::Security::Principal::SecurityIdentifier ^ Sid { System::Security::Principal::SecurityIdentifier ^ get(); };
public System.Security.Principal.SecurityIdentifier Sid { get; }
public System.Security.Principal.SecurityIdentifier Sid { [System.Security.SecurityCritical] get; }
member this.Sid : System.Security.Principal.SecurityIdentifier
[<get: System.Security.SecurityCritical>]
member this.Sid : System.Security.Principal.SecurityIdentifier
Public ReadOnly Property Sid As SecurityIdentifier

Property Value

The SecurityIdentifier for this principal or null if there is no SID.

Attributes

Applies to