Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[User is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Retrieves a pointer to an IDispatch of a MessengerContact object.
This property is read-only.
Syntax
HRESULT get_User(
[out, retval] IDispatch **ppUser
);
Property value
A pointer to an IDispatch of a MessengerContact object.
Remarks
The MessengerContact object contains information about the contact associated with this object. For example, calling IMessengerContact::get_FriendlyName returns the friendly name of the contact.
The following table lists the error codes returned by this property.
| Error Code | Meaning |
|---|---|
| E_INVALIDARG | The value passed into the property was not valid. |
| SR_NO_USER_INVITED | No other user has been invited to this session. |
| Error Code | Meaning |
|---|---|
| 0x80070057 | One of the possible values is not valid. |
| SR_NO_USER_INVITED (0x81000612) | No other user has been invited to this session. |
Requirements
| Minimum supported client |
Windows XP [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| End of client support |
Windows XP |
| End of server support |
Windows Server 2003 |
| Product |
Messenger 4.0 |
| Header |
|
| IDL |
|
| DLL |
|