Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDispCfg_GetMinSecurityLevel Function
PHT_DISP_CONFIG  See Also

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

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

PrlApiDisp.h

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

Virtuozzo 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 Virtuozzo 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 ©2016-2017 Parallels International GmbH. All rights reserved.