Compares two System.Security.Principal.IdentityReference objects to determine whether they are equal. They are considered equal if they have the same canonical name representation as the one returned by the IdentityReference.Value property or if they are both null.
- left
- The left System.Security.Principal.IdentityReference operand to use for the equality comparison. This parameter can be null.
- right
- The right System.Security.Principal.IdentityReference operand to use for the equality comparison. This parameter can be null.
true if left and right are equal; otherwise, false.