LOTUSSCRIPT/COM/OLE 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

NotesDatabase

Syntax

privileges& = notesDatabase.QueryAccessPrivileges( name$ )

Parameters

name$


Return value

privileges&


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 Java Database class

@UserAccess function in formula language

Example
See Also