Specifies credentials for establishing a proxy connection.
PRL_RESULT PrlDispCfg_SetProxyConnectionCreds( PRL_HANDLE hDispConfig, PRL_CONST_STR sAccountId, PRL_CONST_STR sPassword, PRL_UINT32 nFlags );
PrlApiDisp.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle was passed. PRL_ERR_SUCCESS - function completed successfully.
To disconnect from the proxy, specify the account or the password as NULL or an empty string. Please note that it is not possible to disconnect from the proxy and reconnect to it with new credentials in a single configuration edit transaction.