Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






QueryAccessRoles method

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

Note This method is new with Release 6.

Defined in

NotesDatabase

Syntax

roles = notesDatabase.QueryAccessRoles( name$ )

Parameters

name$

String. The name of the person, group, or server.

Return value

roles

String array.

Usage

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

If the name you specify is not listed explicitly in the ACL, QueryAccess 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

@UserRoles function in formula language

@UserNamesList function in formula language

See examples

Examples: QueryAccessRoles method
Related topics
Examining and adjusting an access control list




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009