Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gaining Administrative Access 1

Status
Not open for further replies.

jasnorway

MIS
Jul 13, 1999
30
NO
Actually I have 2 issues, the main one: Is there a way to give administrative access to members mail file when the account is created? I have found there are times that I need to either modify a mail file or need to help retrive data. But before I do I have to go to the individuals system and add myself to the ACL. Can that be done for accts that are already created?

Also is there a means to open users calendars for reading only. Without having to go to each machine to give permissions.
 
Regarding your ACL-question:
You can modify the ACL of the Mail-Template you use for registration and add the manager rights for your administrator user. The thing you must do is adding the ACL-entry into the template in brackets, e.g. [Administrator]. The next time you register a user with this template all ACL-entries you have added in brackets will be automatically assigned.

Your other problems: perhaps it might be possible via an agent, but as I'm no developer I cant' help you with this - Sorry... :-(
 
modifying database acl's can be done through an agent.

what I've done in the past is create a scheduled agent, signed with the (administration) server's id that ran on all databases and templates on the server and added the administration group to the acl with manager access and also anonymous with no access if it wasn't already in the acl.

The following code fragment should get you started.
Read the designerhelpdb for more information about the classes, properties/methods involved.

sub initialize
dim sn as new notessession
dim db as Notesdatabase
dim dbdir as notesdbdirectory
dim acl as notesacl
dim aclentry as notesaclentry

set dbdir = sn.opendirectory(sn.currentdatabase.server)
set db = dbdir.getfirstdb(TEMPLATE_CANDIDATE)
do while not db is nothing

' modify acl's
set acl=db.acl
set aclentry = acl.getentry("Administrators")
if aclentry is nothing then
set aclentry = New NotesACLEntry(ACL, "Administrators", ACLLEVEL_MANAGER)
ACLEntry.CanDeleteDocuments=True
ACLEntry.UserType=ACLTYPE_PERSON_GROUP
call acl.save
end if

set db = dbdir.getnextdatabase
loop

end sub

Woonjas
IRC: #notes on EFNet
 
[thumbsup2] Regarding the acl question;
The best way to handle this to day is just to upgrade your DominoServer to 6. There are some beutiful new administrative elements on there.

Have fun.
 
thaeo, not everyone's in the position to just switch ...

fyi, there's still quite a few large multi-national companies that are just about to migrate from R4 to R5, a lot of those just aren't going to be moving to a new release (which undoubtedly hides a few nasty bugs)

if you have a small organisation, you might want to take the chance. Woonjas
IRC: #notes on EFNet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top