LOTUSSCRIPT/COM/OLE CLASSES
Examples: GetEntry method
1. This script gets the entry for Kendra Bauer, from the ACL of progwork.NSF.
Dim db As New NotesDatabase( "snapper", "progwork.nsf" )
Dim acl As NotesACL
Dim entry As NotesACLEntry
Set acl = db.ACL
Set entry = acl.GetEntry( "Kendra Bauer" )
2. This script gets the entry for the "Unknown" group in the current database. It modifies the ACL so that Unknown cannot delete documents in the database.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim acl As NotesACL
Dim entry As NotesACLEntry
Set db = session.CurrentDatabase
Set acl = db.ACL
Set entry = acl.GetEntry( "Unknown" )
If Not ( entry Is Nothing ) Then
entry.CanDeleteDocuments = False
Call acl.Save
End If
Véase también
GetEntry method
Glosario
¿Desea opinar sobre la
Ayuda
o sobre la
utilidad del producto
?
Ayuda sobre la Ayuda
Todo el contenido de la Ayuda
Glosario