Function EN Version 1.90

@GetDocPrivileges

Note NotesAdmin NotesSystem

Syntax

@GetDocPrivileges(NOTEHANDLE1);

Description

Returns a FLOATLIST of the document with the NOTEHANDLE NOTEHANDLE1 associated privileges. If the document has no privileges, the list has 0 elements.

Example: @GetDocPrivileges(NOTEHANDLE1)

DBHANDLE:=@OpenDB("TEST.NSF");
VIEWHANDLE:=@OpenView(DBHANDLE;"TEST VIEW");
VIEWPOSITION:=1:1:1:0:0:0:0:0:0:0;
NOTEHANDLE1:=@OpenNoteByposition(DBHANDLE;VIEWHANDLE;VIEWPOSITION;NOTEHANDLE1);
@LogReport(@GetDocPrivileges(NOTEHANDLE1));
NOTEHANDLE1:=@CloseNote(NOTEHANDLE1;0);
VIEWHANDLE:=@CloseView(VIEWHANDLE);
DBHANDLE:=@CloseDB(DBHANDLE);

A database is opened, a document is searched for, dessen privileges output and finally the database is closed again.

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