語言

SecurityIdentifier.IsAccountSid 方法

定義

回傳一個值,指示此 SecurityIdentifier 物件所代表的安全識別碼(SID)是否為有效的Windows帳號 SID。

public:
 bool IsAccountSid();
public bool IsAccountSid();
member this.IsAccountSid : unit -> bool
Public Function IsAccountSid () As Boolean

傳回

true 如果此 SecurityIdentifier 物件所代表的 SID 是有效的 Windows 帳號 SID;否則為 false。

適用於