Share via


Colleague members

Represents a user's colleague in the organization.

The Colleague type exposes the following members.

Properties

  Name Description
Public property Group Gets or sets the group for the privacy item. (Inherited from PrivacyItem.)
Public property GroupType Gets or sets the type of the colleague.
Public property ID Gets the unique identifier (ID) of the privacy item. (Inherited from PrivacyItem.)
Public property IsAssistant Indicates whether this colleague is an assistant.
Public property IsEditable Returns a Boolean value that specifies whether a privacy item can be edited. (Inherited from PrivacyItem.)
Public property IsInWorkGroup Gets or sets a value that indicates whether this colleague is part of a workgroup.
Public property IsPrivacyLevelEditable Returns a Boolean value that specifies whether a privacy level can be edited. (Inherited from PrivacyItem.)
Public property IsTitleEditable Returns a Boolean value that specifies whether a privacy item title can be edited. (Inherited from PrivacyItem.)
Public property IsUrlEditable Returns a Boolean value that specifies whether a privacy item URL can be edited. (Inherited from PrivacyItem.)
Public property ItemOwner Gets the owner of the privacy item. (Inherited from PrivacyItem.)
Protected property PartitionID (Inherited from PrivacyItem.)
Public property Policy Gets the privacy policy associated with this colleague. (Overrides PrivacyItem.Policy.)
Public property PrivacyLevel Gets and sets the privacy level of an item. (Inherited from PrivacyItem.)
Public property Profile Gets the user profile of this colleague.
Public property Title Gets or sets the title of the privacy item. (Inherited from PrivacyItem.)
Public property Url Gets or sets the URL for the privacy item. (Inherited from PrivacyItem.)
Protected property ValidGroupEnumType This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItem.ValidGroupEnumType.)

Top

Methods

  Name Description
Protected method AddCustomCommitFields This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItem.AddCustomCommitFields(SqlCommand).)
Public method Commit Commits changes made to the privacy item. (Inherited from PrivacyItem.)
Public method Delete Removes a colleague. (Overrides PrivacyItem.Delete().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetPrivacyPolicy This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Public method GetType (Inherited from Object.)
Protected method InitializeNewPrivacyItem This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetPropertyValues Sets the property values of the colleague. (Overrides PrivacyItem.SetPropertyValues(SqlDataReader).)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_bIsNewLink This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_objOwnerProfile This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_strGroup This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_strTitle This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_strUrl This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)

Top

See also

Reference

Colleague class

Microsoft.Office.Server.UserProfiles namespace