Function EN Version 1.90

@GetACL

ACL Database NotesAdmin NotesSystem

Syntax

@GetACL(OSPATH1;USERNAMES2;USERLEVEL3;USERPRIVS4;PRIVNAMES5);
@GetACL(DBHANDLE1;USERNAMES2;USERLEVEL3;USERPRIVS4;PRIVNAMES5);
@GetACL(OSPATH1;USERNAMES2;USERLEVEL3;USERPRIVS4;PRIVNAMES5;FLAGS6);
@GetACL(DBHANDLE1;USERNAMES2;USERLEVEL3;USERPRIVS4;PRIVNAMES5;FLAGS6);

Description

Retrieves the ACL of the database with the OSPATH OSPATH1 or DBHANDLE DBHANDLE1 and returns it split into TEXTLIST USERNAMES2, NUMBERLIST USERLEVEL3, TEXTLIST USERPRIVS4 and TEXTLIST PRIVNAMES5.

USERNAMES2:
The ACL name entries

USERLEVEL3:
The corresponding ACL level

6=(Manager)   Manager
5=(Developer)   Entwickler
4=(Editor)   Editor
3=(Author)   Autor
2=(Reader)   Leser
1=(Depositor)   Archivar
0=(No Access)   Kein Zugriff

USERPRIVS4:
The corresponding privileges
1-80

ACC Author can create new documents
CPA Create Personal Agent allowed
CPF Create Personal Folder/View allowed
CD Can Delete (at a level >= Author)
CF Create Folder allowed
CLS Create LotusScript allowed
ASRV Admin Server entry
SRV Server entry
PRS Person entry
GRP Group entry
RPD Read Public Documents
WPD Write Public Documents

PRIVNAMES5:
The names of the privileges

FLAGS6:
1   Enforce a consistent ACL across all replicas.

Example: @GetACL(OSPATH1;USERNAMES2;USERLEVEL3;USERPRIVS4;PRIVNAMES5)

OSPATH1:="LOAPI.NSF";
@GetACL(OSPATH1;USERNAMES2;USERLEVEL3;USERPRIVS4;PRIVNAMES5);

Returns (usually) the ACL of the API program control in the variables USERNAMES2, USERLEVEL3, USERPRIVS4 and PRIVNAMES5.

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