Retrieves the user name used to establish this connection.
|C||HRESULT ILMNetSnkConnection_get_UserName(pCon, pVal)|
Pointer to an ILMNetSnkConnection interface.
Pointer to a character string to be updated with the user name used to establish this connection. User names (accounts) are assigned (created) and managed by the server side. For more information, refer to the ILMNetSnk interface. The returned user name string might be empty if the server does not require logon.
|S_OK||The function was successful.|
|<> S_OK||An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.|
If the function succeeds, the user is responsible for freeing the retrieved user name string by calling SysFreeString.
|C||The Server Side|
|C++||The Server Side|
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries