Share via


IMessengerService::MySigninName Property

Deprecated. Retrieves the local user's sign-in name that corresponds to the selected service.

Syntax

HRESULT IMessengerService::get_MySigninName(BSTR *pbstrName);

Parameters

  • pbstrName
    BSTR that contains the sign-in name for the local user of this service.

Return Value

Returns one of the following values. 

S_OK Success.
RPC_X_NULL_REF_POINTER pbstrName is a NULL pointer.
E_FAIL pbstrName returned a NULL string.
E_OUTOFMEMORY String comparison failed.
MSGR_E_NOT_LOGGED_ON This service is offline.

Remarks

Note  This property is not available for scripting languages.

Important  IMessengerService::MySigninName is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

IMessengerService::MySigninName, IMessengerService::MyStatus, IMessengerService::MyFriendlyName