Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PHT_USER_PROFILE
Functions  Functions by Handle  Legend

The PHT_USER_PROFILE handle is used to obtain information about the currently logged in user and for setting the user preferences. The handle is obtained by calling the PrlSrv_GetUserProfile function. To obtain information about any user (not just the currently logged on user), see the PHT_USER_INFO handle.

Description

All modifications to the user profile must begin with the PrlSrv_UserProfileBeginEdit function call and end with the PrlSrv_UserProfileCommit call. The functions are used to detect collisions with other clients trying to modify the profile of the same user at the same time. The functions do not lock the profile being edited. If a collision is detected on commit, the changes are rejected.

Functions
 
Name 
Description 
 
Add information about proxy and credentials to access to the specifid proxy server. 
 
Determines if the current user can modify Parallels Service preferences (PHT_DISP_CONFIG). 
 
Determines if the user is allowed to use the Parallels Service management console utility. 
 
Client can use this method to set user profile XML representation to user profile SDK object This method must be eliminated at Release stage
@param valid PRL_HANDLE @param XML configuration string @return PRL_RESULT
 
Returns name and path of the default virtual machine directory for this user. 
 
Returns name and path of the default virtual machine folder for this Parallels Service. 
 
Determines if the user is a local administrator account on the host where Parallels Service started. 
 
Allows to set a default virtual machine folder for the user. 
 
Sets user default VM dir. 
 
Client can use this method to get user profile XML representation string from user profile SDK object This method must be eliminated at Release stage
@param valid PRL_HANDLE @param XML configuration string @return PRL_RESULT
Links
© 2021 Parallels International GmbH. All rights reserved.