Collapse All
Parallels C API Reference Guide
PrlDispCfg_GetMinSecurityLevel Function
PrlApi.h PHT_DISP_CONFIG See Also

Determines the lowest allowable security level that can be used to connect to the Parallels Service.

Syntax
PRL_RESULT PrlDispCfg_GetMinSecurityLevel(
    PRL_HANDLE hDispConfig, 
    PRL_SECURITY_LEVEL_PTR pnMinSecurityLevel
);
File
Parameters

hDispConfig
A handle of type PHT_DISP_CONFIG .
pnMinSecurityLevel
[out] A pointer to a variable that receives the result.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Parallels Service has a configuration parameter that specifies the connection security level that must be used by clients to communicate with it. If a client tries to login using a lower level than the one returned by this function, the connection to the Parallels Service will be refused. Higher security levels are allowed. If the minimum security level is not known in advance, use this function to determine it before establishing a connection with the Service.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!