Virtuozzo Virtualization SDK C API Reference
|
Determines the lowest allowable security level that can be used to connect to the Virtuozzo Service.
PRL_RESULT PrlDispCfg_GetMinSecurityLevel( PRL_HANDLE hDispConfig, PRL_SECURITY_LEVEL_PTR pnMinSecurityLevel );
PrlApiDisp.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
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.