Share via


ColleagueManager.IsColleague method (Guid)

Determines whether the specified user is a colleague of this colleague.

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

Syntax

'Declaration
Public Function IsColleague ( _
    userId As Guid _
) As Boolean
'Usage
Dim instance As ColleagueManager
Dim userId As Guid
Dim returnValue As Boolean

returnValue = instance.IsColleague(userId)
public bool IsColleague(
    Guid userId
)

Parameters

Return value

Type: System.Boolean
true if the specified user is a colleague of this colleague; otherwise, false.

See also

Reference

ColleagueManager class

ColleagueManager members

IsColleague overload

Microsoft.Office.Server.UserProfiles namespace