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 (in Microsoft.Office.Server.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.