Virtuozzo Virtualization SDK C API Reference
|
Determines if the user is a local administrator account on the host where Virtuozzo Service started.
PRL_RESULT PrlUsrCfg_IsLocalAdministrator( PRL_HANDLE hUserProfile, PRL_BOOL_PTR pbIsLocalAdmin );
PrlApiDisp.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.