SecurityIdentifier.Equals Method (SecurityIdentifier)


Indicates whether the specified SecurityIdentifier object is equal to the current SecurityIdentifier object.

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

public bool Equals(
	SecurityIdentifier sid


Type: System.Security.Principal.SecurityIdentifier

The object to compare with the current object.

Return Value

Type: System.Boolean

true if the value of sid is equal to the value of the current SecurityIdentifier object.

.NET Framework
Available since 2.0
Return to top