Share via


Colleague Class

Represents a user's colleague in the organization.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.PrivacyItem
    Microsoft.Office.Server.UserProfiles.Colleague

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class Colleague _
    Inherits PrivacyItem
'Usage
Dim instance As Colleague
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class Colleague : PrivacyItem

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

Colleague Members

Microsoft.Office.Server.UserProfiles Namespace