ISocialSession2 : IUnknown

ISocialSession2 : IUnknown

Office 2013 and later

Supports adding friends, on-demand or hybrid synchronization of friends, on-demand synchronization of activities, or logging on to the social network by using cached credentials.

The following table shows the members that are available on the ISocialSession2 interface.

Name

Member type

Description

FollowPersonEx

Method

Adds the person identified by the emailAddresses and displayName parameters as a friend for the logged-on user on the social network.

GetActivitiesEx

Method

Gets a string that represents a collection of activities of the users specified by the hashedAddresses parameter.

GetPeopleDetails

Method

Returns a string that contains a collection of person and picture details for the users specified by the personsAddresses parameter.

LogonCached

Method

Logs on to the social network site using cached credentials.

An Outlook Social Connector (OSC) provider can choose to implement this interface if the provider supports on-demand or hybrid synchronization of friends, on-demand synchronization of activities, or logging on to the social network by using cached credentials. If the OSC provider implements ISocialSession2 and supports following persons on the social network, the OSC would call ISocialSession2::FollowPersonEx instead of ISocialSession::FollowPerson, and the provider must implement ISocialSession2::FollowPersonEx, as well.

Show:
© 2016 Microsoft