ColleagueManager members

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

The ColleagueManager type exposes the following members.

Constructors

  Name Description
Public method ColleagueManager Initializes a new instance of the ColleagueManager class.

Top

Properties

  Name Description
Public property DefaultPolicy Gets the default privacy policy associated with the colleagues in the ColleagueManager object. (Overrides PrivacyItemManagerBase<T>.DefaultPolicy.)
Public property Item[Int64] Gets an existing item by ID. (Inherited from PrivacyItemManagerBase<T>.)
Public property Item[UserProfile] Gets the Colleague object for the specified user profile.
Protected property PartitionID (Inherited from PrivacyItemManagerBase<T>.)

Top

Methods

  Name Description
Protected method AppendUniqueGroupList (Inherited from PrivacyItemManagerBase<T>.)
Public method Create Creates a Colleague object with the specified type and privacy level.
Public method CreateWithoutEmailNotification
Public method DeleteAll Deletes all the items corresponding to the given user. (Inherited from PrivacyItemManagerBase<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetColleaguesOfColleagues Gets the colleague's colleagues.
Public method GetCommonColleagues Gets the colleagues that the user and the colleague have in common or share.
Public method GetDataSet() Returns a DataSet containing all items to which the viewer has rights (Inherited from PrivacyItemManagerBase<T>.)
Public method GetDataSet(Privacy) Returns a DataSet containing all items restricted to a certain level of privacy (Inherited from PrivacyItemManagerBase<T>.)
Public method GetGroupList Gets the list of groups this colleague is under. (Overrides PrivacyItemManagerBase<T>.GetGroupList().)
Public method GetHashCode (Inherited from Object.)
Public method GetItems() Returns all items to which the viewer has rights (Inherited from PrivacyItemManagerBase<T>.)
Public method GetItems(Privacy) Gets all privacy items, restricted to a certain privacy level (Inherited from PrivacyItemManagerBase<T>.)
Protected method GetItems(Privacy, Comparison<T>) (Inherited from PrivacyItemManagerBase<T>.)
Public method GetType (Inherited from Object.)
Public method IsColleague(Guid) Determines whether the specified user is a colleague of this colleague.
Public method IsColleague(Int64)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ModifyDataRow Updates the colleague in the user profile store. (Overrides PrivacyItemManagerBase<T>.ModifyDataRow(DataRow, T).)
Protected method ModifyDataTable This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItemManagerBase<T>.ModifyDataTable(DataTable).)
Protected method RepresentedObjectEquals This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItemManagerBase<T>.RepresentedObjectEquals(T, T).)
Protected method RepresentedObjectUniqueIdentifier This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItemManagerBase<T>.RepresentedObjectUniqueIdentifier(T).)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_objOwnerProfile (Inherited from PrivacyItemManagerBase<T>.)

Top

See also

Reference

ColleagueManager class

Microsoft.Office.Server.UserProfiles namespace