語言

SecurityIdentifier.IsWellKnown(WellKnownSidType) 方法

定義

回傳一個值,指示該物件是否 SecurityIdentifier 符合指定的知名安全識別碼(SID)類型。

public:
 bool IsWellKnown(System::Security::Principal::WellKnownSidType type);
public bool IsWellKnown(System.Security.Principal.WellKnownSidType type);
member this.IsWellKnown : System.Security.Principal.WellKnownSidType -> bool
Public Function IsWellKnown (type As WellKnownSidType) As Boolean

參數

type
WellKnownSidType

一個可以與物件比較 SecurityIdentifier 的數值。

傳回

true如果type是物件的 SecurityIdentifier SID 類型;否則,。 false

適用於