IMessenger::MyServiceId Property
Deprecated. Deprecated in Microsoft Windows Messenger 5.0. Retrieves the service ID, a GUID, of the primary service to which the local client user is currently signed in.
Syntax
HRESULT IMessenger::get_MyServiceId(BSTR *pbstrServiceId);
Parameters
- pbstrServiceId
Return value. Pointer to a BSTR that contains a GUID that uniquely identifies the service used by the local client user.
Return Value
Returns one of the following values.
S_OK Success. E_FAIL General failure.
Remarks
Important The IMessenger::MyServiceId property is available for use in Windows Messenger 5.0. It may be unavailable in subsequent versions. Use IMessengerService::ServiceID instead. To return a list of MessengerService objects, use the IMessenger::Services property.
If the local client is offline, this method returns the service ID of the default service.
Important IMessenger::MyServiceId is no longer available in Windows Vista. See Windows Messenger for more information.
Note This property is available for scripting languages.