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

Determines if new users have the right to modify Virtuozzo Service preferences.

Syntax
PRL_RESULT PrlDispCfg_CanChangeDefaultSettings(
    PRL_HANDLE hDispConfig, 
    PRL_BOOL_PTR pbDefaultChangeSettings
);
File

PrlApiDisp.h

Parameters

hDispConfig
A handle of type PHT_DISP_CONFIG.
pbDefaultChangeSettings
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that new users are allowed to change the Virtuozzo Service preferences. PRL_FALSE indicates otherwise.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

By default, only administrators of the host machine can modify Virtuozzo Service preferences. When a new Virtuozzo Service user profile is created (this happens automatically when a user logs in to the Virtuozzo Service for the first time), he/she will be granted or denied this privilege based on the flag set in the Virtuozzo Service configuration. This function determines the status of this flag.

See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.