Performs a remote proxy login operation using the specified parameters.
PRL_HANDLE PrlSrv_SecureProxyLogin( PRL_HANDLE hServer, PRL_CONST_STR certificate, PRL_CONST_STR privateKey, PRL_CONST_STR sPrevSessionUuid, PRL_UINT32 timeout, PRL_SECURITY_LEVEL security_level, PRL_PROXY_HOST_INFO_PTR hostInfo, PRL_UINT32 flags );
PrlApiSecurity.h
0 - no flags. It's behaviour by default)
A handle of type PHT_JOB containing the results of this asynchronous operation, including the return code and a handle of type PHT_LOGIN_RESPONSE , containing an additional Parallels Service information.
PRL_INVALID_HANDLE if there's not enough memory to instantiate the job object.
A remote proxy login operation logs the user to a Parallels Service running on a remote host through proxy server. using user credentials. You can use the PrlSrv_LoginLocal function, which is a simplified version created specifically to perform local host logins.
To get the return code from the PHT_JOB object, use the PrlJob_GetRetCode function. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.
To get the results from the PHT_JOB object:
Copyright © 1999-2015 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
|
What do you think about this topic?
Send feedback!
|