ColleagueManager class

Provides methods to add, delete, retrieve, and manage a user's colleagues.

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.PrivacyItemManagerBase<Colleague>
    Microsoft.Office.Server.UserProfiles.ColleagueManager

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ColleagueManager _
    Inherits PrivacyItemManagerBase(Of Colleague)
'Usage
Dim instance As ColleagueManager
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ColleagueManager : PrivacyItemManagerBase<Colleague>

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ColleagueManager members

Microsoft.Office.Server.UserProfiles namespace