JAVA/CORBA CLASSES


queryAccessPrivileges method
Example

Returns the privileges of a person, group, or server in a database.

Note This method is new with Release 6.5.

Defined in

Database

Syntax

public int queryAccessPrivileges(String name)
   throws NotesException

Parameters

String name


Return value

int


Usage

If the name you specify is listed explicitly in the ACL, then queryAccessPrivileges returns the privileges for that ACL entry and does not check groups.

If the name you specify is not listed explicitly in the ACL, queryAccessPrivileges checks to see if the name is a member of a group in the primary address book where the program is running: on a workstation the Personal Address Book; on a server the Domino Directory.

Language cross-reference

QueryAccessPrivileges method in LotusScript NotesDatabase class

@UserAccess function in formula language

Example
See Also