How do you print the ACL??

Quick question.  Any ideas??
androgyny7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

p_parthaCommented:
Sub Click(Source As Button)
      Dim session As New NotesSession
      Dim db As NotesDatabase
      Set db = session.currentdatabase
      Dim acl As NotesACL
      Dim entry As NotesACLEntry
      Set acl = db.ACL
      Set entry = acl.GetFirstEntry
      While Not entry Is Nothing
            Msgbox entry.Name  + " his rights are " + Cstr(entry.level) ' level 6 means designer
            Set Entry = acl.GetNextEntry( Entry )             
      Wend
      
End Sub

level is a numeric value just write a switch function to print appropriately .,.. otherwise take a printscreen of your acl :)

partha
0
androgyny7Author Commented:
Is there a way in administrator to print out the whole acl list for a database??
0
p_parthaCommented:
If Design synopsis if fine with you. then go to database - synopsis - database info- choose acl...

Partha
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

qwaleteeCommented:
Partha's code could easily be the base of exactly what you want.  As he says, it needs a switch to translate numeric levels to Manager, Designer, Editor, Author, Reader, Depsitor, and No Access. It could also print out the user's roles, and all tose odd little options (e.g., Personal agents, Public views amd folders).

And of course, you would want it done as a printable report, not a bunch of dialog boxes.

Not hard, but you know what?  You would end up with exactly what's in the design synopsis.
0
StruangCommented:
Any easy solution is to go on your server and ensure the catalog task is scheduled to run regularly (but not more then daily) or if it isnt run it using

load catalog

This will create a database catalog which will contain the ACL of all the database contained in a document which you can easily print
0
p_parthaCommented:
Why grade B?

partha
0
androgyny7Author Commented:
Sorry was rushing and didn't realise I had selected Good not excellent.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.