LOTUSSCRIPT/COM/OLE CLASSES


GrantAccess method
Example

Modifies a database access control list to provide the specified level of access to a person, group, or server.

Defined in

NotesDatabase

Syntax

Call notesDatabase.GrantAccess( name$, level% )

Parameters

name$


level% Note These values are also used with the CreateACLEntry method and InternetLevel property in the NotesACL class, the Level property in the NotesACLEntry class, and the CurrentAccessLevel property and QueryAccess method in the NotesDatabase class.

Usage

This method changes any existing NotesACL or NotesACLEntry object associated with the database.

If the name$ already exists in the ACL, this method updates it with the access level%. Otherwise, the name is added to the ACL with level%.

You can also use this method to deny access to a person, group, or server by assigning ACLLEVEL_NOACCESS.

This method sets ACL roles to their default values.

Language cross-reference

grantAccess method in Java Database class

Example
See Also