ColleagueManager.Item Property (UserProfile)
Gets the Colleague object for the specified user profile.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
userProfile As UserProfile _
) As Colleague
Get
'Usage
Dim instance As ColleagueManager
Dim userProfile As UserProfile
Dim value As Colleague
value = instance(userProfile)
public Colleague this[
UserProfile userProfile
] { get; }
Parameters
userProfile
Type: Microsoft.Office.Server.UserProfiles.UserProfileThe UserProfile object of the colleague.
Property Value
Type: Microsoft.Office.Server.UserProfiles.Colleague
A Colleague object.