SecurityIdentifier.IsWellKnown(WellKnownSidType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,指示該物件是否 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