System.Security.Principal.SecurityIdentifier.op_Equality Method

Compares two System.Security.Principal.SecurityIdentifier objects to determine whether they are equal. They are considered equal if they have the same canonical representation as the one returned by the SecurityIdentifier.Value property or if they are both null.

Syntax

public static bool operator== (SecurityIdentifier left, SecurityIdentifier right)

Parameters

left
The left operand to use for the equality comparison. This parameter can be null.
right
The right operand to use for the equality comparison. This parameter can be null.

Returns

true if left and right are equal; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0