How do you print the ACL??

Posted on 2004-11-29
Last Modified: 2013-12-18
Quick question.  Any ideas??
Question by:androgyny7
    LVL 14

    Expert Comment

    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 )             
    End Sub

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


    Author Comment

    Is there a way in administrator to print out the whole acl list for a database??
    LVL 14

    Accepted Solution

    If Design synopsis if fine with you. then go to database - synopsis - database info- choose acl...

    LVL 31

    Expert Comment

    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.
    LVL 1

    Expert Comment

    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
    LVL 14

    Expert Comment

    Why grade B?


    Author Comment

    Sorry was rushing and didn't realise I had selected Good not excellent.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
    IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now