Solved

Change ACL with a button

Posted on 2004-08-10
5
475 Views
Last Modified: 2013-12-18
I am in a situation where the person who originally setup Lotus Notes at our office did not give Administrators the right to access user's mail files.  We want to add the administrators mail files without having to login individually as each person to do this.  The only way I can think of to do this is through a button.  I figured out that
database.createACLEntry(username,ACL.LEVEL_MANAGER);
is the code I need to do this, but I get an error when creating the button. "An operator or semicolon was expected but none was encountered in ACL.LEVEL_MANAGER"  I am sure I am missing something but not sure what it is.  I have already tried adding myself to the localdomainservers group, but this is a server group so I was still denied access.


0
Comment
Question by:thetool
5 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
Comment Utility
You can as well do this simply from administrator..

Open the administrator and select all the mail dbs and right click , select acl..manage and add the admin group save it

~Hemanth
0
 
LVL 4

Author Comment

by:thetool
Comment Utility
I am given a you are not authorized to perform that operation error when following the steps you suggested.

I realized that my previous error message was incorrect and instead I am getting a message "undefined variable or class name: database"  I realized that my code earlier was using the wrong type of script.
0
 
LVL 24

Expert Comment

by:HemanthaKumar
Comment Utility
You have to have manager access if working on server...

Do this locally from the server so that you can meddle with acls
0
 
LVL 15

Expert Comment

by:Bozzie4
Comment Utility
Or run the code in an agent scheduled on server, this agent should be signed by the server.id too.

cheers,

Tom
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 100 total points
Comment Utility
ACLHelp from http://OpenNTF.org is designed to do exactly what you are asking for.  Even if you have no access to the database, it will add yo to the ACL in any way you like.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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.
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

763 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

13 Experts available now in Live!

Get 1:1 Help Now