Function EN Version 12.11

@ReadACL

ACL Database NotesAdmin NotesSystem

Syntax

@ReadACL(DBHANDLE);

Description

This @Function creates an in-memory copy of the ACL of the database specified by DBHANDLE DBHANDLE and returns a VSPECHACL (HACL) handle to this copy.
When the VSPECHACL handle is no longer required, it must be released using @ReleaseACL.

As its return value, the @Function returns @ERROR in case of an error; otherwise, it returns a VSPECHACL handle to the in-memory copy of the database ACL.

Beispiel: @ReadACL(DBHANDLE);

DBHANDLE:=@OpenDB("TEST\\TESTDB1.NSF");
HACL:=@ReadACL(DBHANDLE);
HACL:=@ReleaseACL(HACL);
DBHANDLE:=@CloseDB(dbh);

A database is opened and an in-memory copy of its ACL is created and stored in HACL.
The VSPECHACL handle is then released, and the database is closed.

Note : This text was machine-translated and may contain inaccuracies.