CLASSI JAVA/CORBA


grantAccess method
Esempio

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

Nota Using this method at the same time an ACL object is in use may produce inconsistent results.

Defined in

Database

Syntax

public void grantAccess(String name, int level)
   throws NotesException

Parameters

String name


int level Usage

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

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

This method sets ACL roles to their default values.

Language cross-reference

GrantAccess method in LotusScript NotesDatabase class

Esempio
Vedere anche