Share via


GetUserProfileByIndexResult.Colleagues property

Gets or sets colleagues contact information for the user profile.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

'Declaration
Public Property Colleagues As ContactData()
    Get
    Set
'Usage
Dim instance As GetUserProfileByIndexResult
Dim value As ContactData()

value = instance.Colleagues

instance.Colleagues = value
public ContactData[] Colleagues { get; set; }

Property value

Type: []
The colleagues contact information for the user profile.

Remarks

For more information about colleagues and contact data, see Colleagues Overview and the ContactData Web service. For a code example that shows how to use the User Profile Service Web service to retrieve a user's property data, memberships, links, and colleagues, see How to: Use the Web Service to Find What's Common Between Two User Profiles.

See also

Reference

GetUserProfileByIndexResult class

GetUserProfileByIndexResult members

WebSvcUserProfileService namespace