Give Yourself As A Administrator Access To All Notes Db's And Templates On The Server

This is a simple scriptagent that you can run on the server to give your Notes
administratorgroup Manager access to all Notesdb's and templates on the server.
Default you have no Manager access to templates and other Notesdb's. To avoid
the hassle of having to modify the ACL of each db and template locally, you can
run this script on the server and he will go through all files with the
extension .nsf and .ntf and put there your Notes administrators group in there
with Manager access.

To use the script, simply create an agent and paste this script in it and run
it on the server. You will need to have the ability to "Run Unrestricted
Agents" in the server document in order for it to work.

Enjoy!

Rgds, Phuoc Tran.
CLP Principal Administrator & Developer.
ptran11@hotmail.com


Script:

Sub Initialize
Dim session As New notessession

Set directory = New NotesDbDirectory( "" )
Set db=directory.getfirstdatabase(TEMPLATE_CANDIDATE)
While Not (db Is Nothing)
Call db.Open( "", "" )
Call db.GrantAccess( "Notes_Administrators",ACLLEVEL_MANAGER )
Set db = directory.getnextdatabase
Wend
End Sub



This was first published in November 2000

Dig deeper on Domino Resources - Part 5

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close