Determines whether permission is allowed for a given action on a
given script. Returns silently if permission is granted, throws an
::com::sun::star::security::AccessControlException
if permission is denied.
Determines whether permission is allowed for a given action on a
given script. Returns silently if permission is granted, throws an
::com::sun::star::security::AccessControlException
if permission is denied.
Parameter docURI
a URI for the script storage
Parameter permissionRequested
a string describing the type of permission being requested,
eg. "execute", "read".
Throws
::com::sun::star::lang::IllegalArgumentException
if there is no matching script name, if the permissionRequested
is not recognised
Throws
::com::sun::star::security::AccessControlException
if the permission requested is not granted