Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlUsrCfg_CanChangeSrvSets Function
PHT_USER_PROFILE  See Also

Determines if the current user can modify Virtuozzo Service preferences (PHT_DISP_CONFIG).

Syntax
PRL_RESULT PrlUsrCfg_CanChangeSrvSets(
    PRL_HANDLE hUserProfile, 
    PRL_BOOL_PTR pbCanChangeSrvSets
);
File

PrlApiDisp.h

Parameters

hUserProfile
A handle of type PHT_USER_PROFILE identifying the user.
pbCanChangeSrvSets
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the client can modify 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. Depending on the current Virtuozzo Service settings, other users may also be granted this privilege at the time a user profile is created. To verify the default settings, use the PrlDispCfg_CanChangeDefaultSettings function. Whether the user can or cannot modify Virtuozzo Service preferences, this setting is final and cannot itself be changed through Virtuozzo API.

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