Share via


UserProfile.Equals Method

Returns whether the user profile is equivalent to a specified user profile.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As UserProfile
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)

Parameters

  • obj
    Type: System.Object
    A System.Object representing a user profile.

Return Value

Type: System.Boolean
true if the user profiles are equivalent; otherwise, false.

See Also

Reference

UserProfile Class

UserProfile Members

Microsoft.Office.Server.UserProfiles Namespace