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
userId
Type: System.GuidA valid user ID.
Return Value
Type: System.Boolean
true if the specified user is a colleague of this colleague; otherwise, false.