Share via


ColleagueManager.IsColleague Method

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

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.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

Microsoft.Office.Server.UserProfiles Namespace