OpenNTF.org - ExpandACL2Excel
My Links (Not logged in)
Code Bin Search
 
Hosted by Prominic.NET
Rate This Code
5 - brilliant stuff
4 - very nice
3 - average
2 - needs work
1 - bad
   OpenNTF Code Bin
Edit Document Code By Date > Code Document
About This Code
Brief Description:
ExpandACL2Excel 
Rating:
Not Rated Yet 
Contributor:
Nickolai Nikishin 
Category:
Lotusscript 
Type:
Administration 
Notes Version:
R6.x, R8.x, R7.x 
Last Modified:
13 Oct 2008 
OpenNTF Disclaimer

All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.

Code / Description
When you check ACL of database, sometimes it is very hard to say which particular user has enough rights for example to delete documents in database or who has required role. This code will check each entry in ACL, then it will check if this is a group or user (using Domino Directory), and if this is a group expands all group members, then it will export result to Excel file, where you can use autofilter for easy records navigation
Usage / Example
I suggest to use this code as agent in your mail file (create new agent 'ExportACL2Excel' triggered from Actions menu selection), so it can be triggered by 2 ways:

1) by Actions menu in of your mail file - in this case you will select database from catalog
2) create smarticon with the following formula - in this case script will proceed any opened database:
DBServer := @ServerName;
DBName:=@Subset(@DbName; -1);
ENVIRONMENT ExportACL2ExcelDBServer:= DBServer;
ENVIRONMENT ExportACL2ExcelDBName := DBName;
@Command([MailOpen]);
@Command([ToolsRunMacro]; "ExportACL2Excel");
@Command([FileCloseWindow])

Code Attachments
 Comments

No documents found

 Add your comment!