ISocialProfile::AreFriendsOrColleagues

Determines whether the specified users are friends.

HRESULT _stdcall AreFriendsOrColleagues(SAFEARRAY(BSTR) userIds, [out, retval] SAFEARRAY(VARIANT_BOOL)* results);

Parameters

userIds

[in] A structure that specifies an array of user ID values that correspond to a set of persons on the social network.

results

[out] A pointer to structure that specifies an array of Boolean values, indicating whether the corresponding person in the userIds array is a friend.

Remarks

For each person represented in the input array of the userIds parameter, this method sets the corresponding element in the output array of the results parameter. true indicates that the person is a friend, and false indicates that the person is not a friend.

See also