IMsgrObject::LocalLogonName Property

Deprecated. Retrieves the sign-in name of the local client user.

Note  The IMsgrObject::LocalLogonName property is available for use in Microsoft Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use IMessenger::MySigninName instead.

Syntax

HRESULT IMsgrObject::get_LocalLogonName(BSTR *pbstrName);

Parameters

  • pbstrName
    Pointer to a BSTR that contains the current user's sign-in name.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Important  IMsgrObject::LocalLogonName is no longer available in Windows Vista. See Windows Messenger for more information.