ColleagueManager ColleagueManager ColleagueManager Class

Definition

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

public ref class ColleagueManager : Microsoft::Office::Server::UserProfiles::PrivacyItemManagerBase<Microsoft::Office::Server::UserProfiles::Colleague ^>
public class ColleagueManager : Microsoft.Office.Server.UserProfiles.PrivacyItemManagerBase<Microsoft.Office.Server.UserProfiles.Colleague>
Public Class ColleagueManager
Inherits PrivacyItemManagerBase(Of Colleague)
Inheritance

Constructors

ColleagueManager(UserProfile) ColleagueManager(UserProfile) ColleagueManager(UserProfile)

Initializes a new instance of the ColleagueManager class.

Properties

DefaultPolicy DefaultPolicy DefaultPolicy

Gets the default privacy policy associated with the colleagues in the ColleagueManager object.

Item[Int64] Item[Int64] Item[Int64]

Gets an existing item by ID.

(Inherited from PrivacyItemManagerBase<T>)
Item[UserProfile] Item[UserProfile] Item[UserProfile]

Gets the Colleague object for the specified user profile.

PartitionID PartitionID PartitionID Inherited from PrivacyItemManagerBase<T>

Methods

AppendUniqueGroupList(StringCollection) AppendUniqueGroupList(StringCollection) AppendUniqueGroupList(StringCollection) Inherited from PrivacyItemManagerBase<T>
Create(UserProfile, ColleagueGroupType, String, Boolean, Privacy) Create(UserProfile, ColleagueGroupType, String, Boolean, Privacy) Create(UserProfile, ColleagueGroupType, String, Boolean, Privacy)

Creates a Colleague object with the specified type and privacy level.

CreateWithoutEmailNotification(UserProfile, ColleagueGroupType, String, Boolean, Privacy) CreateWithoutEmailNotification(UserProfile, ColleagueGroupType, String, Boolean, Privacy) CreateWithoutEmailNotification(UserProfile, ColleagueGroupType, String, Boolean, Privacy)
DeleteAll() DeleteAll() DeleteAll()

Deletes all the items corresponding to the given user.

(Inherited from PrivacyItemManagerBase<T>)
GetColleaguesOfColleagues() GetColleaguesOfColleagues() GetColleaguesOfColleagues()

Gets the colleague's colleagues.

GetCommonColleagues() GetCommonColleagues() GetCommonColleagues()

Gets the colleagues that the user and the colleague have in common or share.

GetDataSet() GetDataSet() GetDataSet()

Returns a DataSet containing all items to which the viewer has rights

(Inherited from PrivacyItemManagerBase<T>)
GetDataSet(Privacy) GetDataSet(Privacy) GetDataSet(Privacy)

Returns a DataSet containing all items restricted to a certain level of privacy

(Inherited from PrivacyItemManagerBase<T>)
GetGroupList() GetGroupList() GetGroupList()

Gets the list of groups this colleague is under.

GetItems() GetItems() GetItems()

Returns all items to which the viewer has rights

(Inherited from PrivacyItemManagerBase<T>)
GetItems(Privacy) GetItems(Privacy) GetItems(Privacy)

Gets all privacy items, restricted to a certain privacy level

(Inherited from PrivacyItemManagerBase<T>)
GetItems(Privacy, Comparison<T>) GetItems(Privacy, Comparison<T>) GetItems(Privacy, Comparison<T>) Inherited from PrivacyItemManagerBase<T>
IsColleague(Guid) IsColleague(Guid) IsColleague(Guid)

Determines whether the specified user is a colleague of this colleague.

IsColleague(Int64) IsColleague(Int64) IsColleague(Int64)
ModifyDataRow(DataRow, Colleague) ModifyDataRow(DataRow, Colleague) ModifyDataRow(DataRow, Colleague)

Updates the colleague in the user profile store.

ModifyDataRow(DataRow, T) ModifyDataRow(DataRow, T) ModifyDataRow(DataRow, T) Inherited from PrivacyItemManagerBase<T>
ModifyDataTable(DataTable) ModifyDataTable(DataTable) ModifyDataTable(DataTable)

This member is reserved for internal use and is not intended to be used directly from your code.

RepresentedObjectEquals(Colleague, Colleague) RepresentedObjectEquals(Colleague, Colleague) RepresentedObjectEquals(Colleague, Colleague)

This member is reserved for internal use and is not intended to be used directly from your code.

RepresentedObjectEquals(T, T) RepresentedObjectEquals(T, T) RepresentedObjectEquals(T, T) Inherited from PrivacyItemManagerBase<T>
RepresentedObjectUniqueIdentifier(Colleague) RepresentedObjectUniqueIdentifier(Colleague) RepresentedObjectUniqueIdentifier(Colleague)

This member is reserved for internal use and is not intended to be used directly from your code.

RepresentedObjectUniqueIdentifier(T) RepresentedObjectUniqueIdentifier(T) RepresentedObjectUniqueIdentifier(T) Inherited from PrivacyItemManagerBase<T>

Fields

m_objOwnerProfile m_objOwnerProfile m_objOwnerProfile Inherited from PrivacyItemManagerBase<T>

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to