Partilhar via


GetUserProfileByIndexResult.Colleagues Property

Gets or sets colleagues contact information for the user profile.

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

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

UserProfileService Web Service