test if an operation is permitted
Test( op, file )
a name representing operation
a file name as a string
This routine tests if the operation op on the file file is permitted, when tested against the current security settings. Security need not be enabled in order to test the operation.
The Test command returns true if the operation in op on the file file is permitted under the current Security settings, and false otherwise.
The operation op must be one of: `read`, write, or extcall.
For an overview of Maple engine security and an explanation of relevant concepts, see the Maple Engine Security help page.
Download Help Document