SecurityIdentifier.IsWellKnown(WellKnownSidType) Metod

Definition

Returnerar ett värde som anger om SecurityIdentifier objektet matchar den angivna välkända säkerhetsidentifieraren (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

Parametrar

type
WellKnownSidType

Ett värde att jämföra med objektet SecurityIdentifier .

Returer

trueom type är SID-typen för SecurityIdentifier objektet, annars . false

Gäller för