Office 2013 and later

Gets an automatically configured ISocialSession interface.

HRESULT _stdcall GetAutoConfiguredSession([out, retval] ISocialSession** session);


[out] An ISocialSession interface.

The returned ISocialSession interface is automatically logged on to the network, based on a method that is specific to the provider.

The provider should return the OSC_E_NOT_IMPLEMENTED error if the social network does not support automatic configuration. For information about error codes, see Outlook Social Connector Provider Error Codes.