Function EN Version 12.11

@ReleaseACL

ACL NotesAdmin NotesSystem

Syntax

@ReleaseACL(HACL);

Description

This @Function releases a previously created VSPECHACL (HACL) and sets the handle contained in it to NULL. It should be called as soon as the in-memory copy of the ACL is no longer required.

VSPECHACL HACL:
A VSPECHACL handle to an in-memory copy of a database ACL, for example returned by @ReadACL.

As its return value, the @Function returns @ERROR in case of an error; otherwise, it returns TRUE.

Beispiel: @ReleaseACL(HACL);

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.