다음을 통해 공유


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