Professional Documents
Culture Documents
access";"lookup-mobility");
@dbcolumn("";"";key;1)
sub initialize
set acl
sub initialize
on error resume next
dim i as integer
dim ws as new notesuiworkspace
dim uiview as notesuiview
dim dc as notesdocumentcollection
dim doc as notesdocument
set uiview = ws.currentview
set dc = uiview.documents
set doc = dc.getfirstdocument
i = 1
'dim session as notessession
'set session = new notessession
'dim doc as notesdocument
'set doc = session.documentcontext
'mailserver = doc.mailserver(0)
'messagebox mailserver
while not (doc is nothing)
print "done"
print i
i=i+1
dim db as new notesdatabase( doc.mailserver(0), doc.mailfile(0))
call db.grantaccess(doc.owner(0), acllevel_manager)
set doc = dc.getnextdocument (doc)
wend
end sub
%rem
sub initialize
dim ws as new notesuiworkspace
dim uiview as notesuiview
dim dc as notesdocumentcollection
dim doc as notesdocument
dim total as double
set uiview = ws.currentview
set dc = uiview.documents
set doc = dc.getfirstdocument
while not (doc is nothing)
total = total + 1
set doc = dc.getnextdocument (doc)
wend
messagebox total,, "total amount"
end sub
%end rem