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 物件比較的值。

傳回

如果 typeSecurityIdentifier 物件的 SID 型別則為 true,否則為 false

適用於