Share via


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.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class ColleagueManager _
    Inherits PrivacyItemManagerBase(Of Colleague)
'Usage
Dim instance As ColleagueManager
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, 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