[Ã?Â The MySigninName property is available for use in Windows Messenger 5.0. It may be unavailable in subsequent versions. Use MySigninName instead. To return a list of MessengerService objects, use the Services property. ]
Deprecated in Windows Messenger 5.0. Sign-in name.
This property is read-only.
HRESULT get_MySigninName( [out, retval] BSTR *pbstrName );
- pbstrName [out]
Return value. A pointer to a BSTR that contains the current user's sign-in name.
Returns one of the following values.
pbstrName is a NULL pointer.
String comparison failed.
Local client is offline.
Client is offline.
This property fails if the local client is offline. This property does not recheck the user store for the current user's sign-in name. The value returned will be the value entered on the client upon the initial sign-in for this session, which is cleared when the current user signs out.
The Microsoft .NET Messenger Service client can potentially be signed in to multiple services. The client must be signed in to the primary service; if multiple services are enabled, this property returns the sign-in name for the primary service only. For the Microsoft .NET Messenger Service, the sign-in name is a Windows Live ID sign-in name and thus will follow validation rules for e-mail addresses and correspond to a Windows Live ID identity. For other services, the sign-in name may follow different validation rules.
Important MySigninName is no longer available in Windows Vista. See Windows Messenger for more information.
Note This property is not available for scripting languages.
Build date: 6/30/2010