Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Access list management system (continued)

First of all, since the method uses an agent that passes its arguments in the query string, I knew that in theory, anyone who had access to the database and knew the URL of the agent and the proper format for the arguments could conceivably add somebody to the database. The agent is signed by me. If a URL in the proper format was submitted, then somebody could be either added to or deleted from an access group. As of version 4.6, there is the possibility to check an agent property for Web Access to "Run Agent as Web user." But that would not work since the people who would be maintaining the lists did not have and never would have access to modify group documents in the Domino server address book. So they needed to run the agent with my authority.

Therefore, I knew I needed to find a way to limit access to who could run this agent based on a role. That's where the CheckRole(Byval roleName As String) function comes into play. This function uses an Evaluate function to access the current user's list of roles and check it for the existence of a role called "Managing Editor." If they do not have this role, it will skip over all of the code and go straight to a couple of lines that print an error message. This provides me with an easy way to control access to who can run any of these agents.

Fee-fi-fo-fum (conclusion)
I hope you've enjoyed reading about the Access List Management System that has grown from my magic beans. It definitely took a lot of water but it was very much worth it. Not only is the administration of access lists for databases a lot easier, but I got a lot of valuable experience by creating this system. I know that the next Domino beanstalk I encounter is going to be a little easier climb because of what I learned from creating this system. And I hope I've given you some useful ideas and/or made some of your projects a little easier as well. I always love to get email from people who have found the articles I've written and the example databases I provide useful. Please feel free to email me with any success stories or questions at dan.velasco@adecco.com.

Product availability and resources
You can find my sample code on my Web site at http://dan.velasco.com.

Contributing Editor Dan Velasco is a Lotus Notes/Domino Developer for the Worldwide Sales & Marketing Department at Adecco in Redwood City, CA. He is also an R4 and R5 CLP Principal Application Developer and a R4 Principal System Administrator. You can reach him via email at dan.velasco@adecco.com or on the Web at http://dan.velasco.com.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  7
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Home > Lotus Technologies > Access Control (7 articles)
   Forcing immediate indexes to actually update immediately
   Enabling and disabling the single login setting in Notes 6
   Coding Domino server tasks in C: beyond Windows
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login