Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
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
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!