LOTUSSCRIPT/COM/OLE CLASSES


Examining and adjusting an access control list
Example

You examine and adjust the access control list (ACL) of a database through objects of the following classes:

ClassContainsTo
NotesDatabaseACL propertyAccess a NotesACL object
CurrentAccessLevel propertyDetermine the current user access level
GrantAccess, RevokeAccess, QueryAccess, QueryAccessPrivileges, and QueryAccessRoles methodsDirectly create, remove, and check ACL entries
NotesACLGetEntry, GetFirstEntry, and GetNextEntry methodsAccess ACL entries
CreateACLEntry methodCreate ACL entries
RemoveACLEntry methodRemove ACL entries in COM only
AdministrationServerDetermine and set name of administration server
IsAdminNames, IsAdminReaderAuthorDetermine administration access to Names, Authors, and Readers fields
InternetLevel propertyDetermine and set the maximum Internet access level for the current database
Roles property and AddRole, DeleteRole, and RenameRole methodsAccess roles
Parent propertyDetermine the database that owns the ACL
UniformAccess propertyEnforce, or not enforce, a consistent ACL across all replicas of a database
IsExtendedAccess propertyEnable, or not enable, extended access
NotesACLEntryCanCreateDocuments, CanCreateLSOrJavaAgent, CanCreatePersonalAgent, CanCreatePersonalFolder, CanCreateSharedFolder, CanDeleteDocuments, CanReplicateOrCopyDocuments, IsAdminReaderAuthor, IsAdminServer, Level, Name, and Parent propertiesExamine the ACL entry
NameObject propertySupported in COM only
New and Remove methodsCreate and remove an entry
Roles property and IsRoleEnabled, EnableRole, and DisableRole methodsAssociate ACL entries with roles
IsPublicReader and IsPublicWriter propertiesBecome public readers and writers
IsGroup, IsPerson, and IsServer propertiesDetermine and set the user type for an ACL entry
The Save method of NotesACL writes changes that you make to the ACL and ACL entries to permanent storage. Otherwise, the changes are lost when your program exits.

Example
See Also