Principal.Sid 属性

定义

获取主体的安全 ID (SID)。

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

属性值

此主体的 SecurityIdentifier;如果没有 SID,则为 null。

属性

适用于