Principal.Equals Method (Object)


Returns a Boolean value that specifies whether the supplied object is equal to the current object.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

Public Overrides Function Equals (
	o As Object
) As Boolean


Type: System.Object

The Principal object that is compared to the current instance.

Return Value

Type: System.Boolean

true if the supplied object and current principal objects represent the same underlying principal in the store; otherwise false.

.NET Framework
Available since 3.5

Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top