SecurityIdentifier.IsWellKnown Method (WellKnownSidType)


Returns a value that indicates whether the SecurityIdentifier object matches the specified well known security identifier (SID) type.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

public bool IsWellKnown(
	WellKnownSidType type


Type: System.Security.Principal.WellKnownSidType

A value to compare with the SecurityIdentifier object.

Return Value

Type: System.Boolean

true if type is the SID type for the SecurityIdentifier object; otherwise, false.

.NET Framework
Available since 2.0
Return to top