Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Change ACL with a button

Posted on 2004-08-10
5
Medium Priority
?
487 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
ID: 11766981
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
ID: 11767062
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
ID: 11767139
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
ID: 11767210
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 400 total points
ID: 11767759
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

926 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