.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

JAVA/CORBA CLASSES


grantAccess method
Example

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

Note 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

Example
See Also