NotesACL
Properties
| Name | Description |
|---|---|
| AdministrationServer | Read-write. The name of the administration server for a database. |
| InternetLevel | Read-write. Indicates the maximum Internet access level for this database. |
| IsAdminNames | Read-write. Indicates whether the administration server for the database can modify all Names fields in a database. |
| IsAdminReaderAuthor (NotesACL) | Read-write. Indicates whether the administration server for the database can modify Readers and Authors fields in a database. |
| IsExtendedAccess | Read-write. Indicates whether extended access is enabled. |
| Parent (NotesACL) | Read-only. The database that owns an ACL. |
| Roles (NotesACL) | Read-only. All the roles defined in an access control list. |
| UniformAccess | Read-write. Indicates whether uniform access is enforced. |
Methods
| Name | Description |
|---|---|
| AddRole | Adds a role to an ACL. |
| CreateACLEntry | Creates an entry in the ACL with the name and level that you specify. When used with OLE automation, this method allows you to create a NotesACLEntry… |
| DeleteRole | Deletes a role from an ACL. |
| GetEntry (NotesACL) | Given a name, finds its entry in an ACL. |
| GetFirstEntry (NotesACL) | Returns the first entry in an ACL, usually the Default entry. |
| GetNextEntry (NotesACL) | Given an ACL entry, returns the next one. |
| RemoveACLEntry | Removes an entry from the ACL. |
| RenameRole | Changes the name of a role. |
| Save (NotesACL) | Saves the changes you made to the ACL. If you don't call Save before closing a database, the changes you made to its ACL will be lost. |
Examples
| Name | Description |
|---|---|
| Examples: AdministrationServer property | 1. This agent displays the administration server for the current database. |
| Examples: GetEntry method (NotesACL) | 1. This script gets the entry for Kendra Bauer, from the ACL of progwork.NSF. |
| Examples: GetFirstEntry method (NotesACL) | This script gets the first entry from the ACL of a database called HELLO.NSF. |
| Examples: GetNextEntry method (NotesACL) | This script gets the second entry from the ACL of HELLO.NSF. |
| Examples: InternetLevel property | This script obtains the maximum Internet access level for the current database and displays it in a message. If the access level is Manager, the script… |
| Examples: IsAdminNames property | This agent toggles IsAdminNames for the current database. |
| Examples: IsAdminReaderAuthor property | This agent toggles IsAdminReaderAuthor for the current database. |
| Examples: IsExtendedAccess property | The following agent toggles IsExtendedAccess for the current database, disabling UniformAccess at the user's discretion. |
| Examples: Save method (NotesACL) | 1. This script adds a new role to the access control list of the current database, and saves the ACL. If the script did not call Save, the role would not… |