Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlAcl_IsCurrentSessionOwner Function
PHT_ACCESS_RIGHTS

Determines if the current user is the owner of the specified virtual machine.

Syntax
PRL_RESULT PrlAcl_IsCurrentSessionOwner(
    PRL_HANDLE hAcl, 
    PRL_BOOL_PTR pbIsOwner
);
File

PrlApiVm.h

Parameters

hAcl
A handle of type PHT_ACCESS_RIGHTS containing the access rights information for a virtual machine.
pbIsOwner
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the user is the owner of the virtual machine. 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.