Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlUsrCfg_IsLocalAdministrator Function
PHT_USER_PROFILE

Determines if the user is a local administrator account on the host where Parallels Service started.

Syntax
PRL_RESULT PrlUsrCfg_IsLocalAdministrator(
    PRL_HANDLE hUserProfile, 
    PRL_BOOL_PTR pbIsLocalAdmin
);
File

PrlApiDisp.h

Parameters

hUserProfile
A handle of type PHT_USER_PROFILE identifying the user.
pbIsLocalAdmin
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the user is local administrator. 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. 

Links
© 2021 Parallels International GmbH. All rights reserved.