Collapse All
Parallels C API Reference Guide
PrlUsrCfg_CanChangeSrvSets Function
PrlApi.h PHT_USER_PROFILE See Also

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

Syntax
PRL_RESULT PrlUsrCfg_CanChangeSrvSets(
    PRL_HANDLE hUserProfile, 
    PRL_BOOL_PTR pbCanChangeSrvSets
);
File
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 Parallels 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 Parallels Service preferences. Depending on the current Parallels 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 Parallels Service preferences, this setting is final and cannot itself be changed through Parallels API.

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