wbk
wbk

Reputation: 1370

Extract IBM Notes View/Folder full ACL form Java API

Is there any way to extract View or folder ACL using Java API? In case of Document (like Extract Lotus Notes Document's complete ACL from Java) there is possibility to read item field $Readers or $UpdateBy, but there is no such fields in View object or any connected to users.

Upvotes: 2

Views: 269

Answers (1)

Knut Herrmann
Knut Herrmann

Reputation: 30960

You can get view's or folder's readers by view.getReaders():

  View view = db.getView("yourViewOrFolderName");
  Vector readers = view.getReaders();

Update:

Folders have updaters in addition. Unfortunately, there is no method getUpdaters.
Create a NoteCollection, select view design elements only, iterate through views and find your folder and read item $Updaters.

Upvotes: 2

Related Questions