@CopyTemplateACL
Syntax
@CopyTemplateACL(DBHANDLE1;DBHANDLE2;MANAGER3;ACLLEVEL4);
Description
Copies the template ACL of the database with the DBHANDLE DBHANDLE1 as the ACL into the database with the DBHANDLE DBHANDLE2.
Template ACL entries are specified in the ACL in square brackets.
This @function converts these entries into ACL entries. TEXT MANAGER3 the name of a user who should receive manager rights, and NUMBER ACLLEVEL4 specifies the default ACL level. If the @function was executed successfully, the @function result has the data type PV.
NOTE:
The executing server must Manager access to the database with the DBHANDLE2 in order to be able to perform this operation.
Example: @CopyTemplateACL(DBHANDLE1;DBHANDLE2;MANAGER3;ACLLEVEL4)
@CopyTemplateACL(DBHANDLE1;DBHANDLE2;"Klaus Mustermann";0)
After opening the databases, the template ACL from "TEST1.NSF" is copied to "TEST2.NSF", where "Klaus Mustermann" is entered as Manager, and then both databases are closed again.
Note : This text was machine-translated and may contain inaccuracies.
