Reputation: 1370
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
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