4) Self Test Software Practice Test for IBM
Objective: Security
SubObjective: Setting database ACL advanced properties
Single Answer, Multiple Choice
The Sales database has the “Enforce a consistent Access Control List across all replicas” in effect. You want to use @UserNamesList to return information about the current user. Which information cannot be obtained if the database is not on the server?
A. Roles associated with the user
B. Groups to which the user belongs
C. Common Name
D. All of the above
Answer:
B. Groups to which the user belongs
Tutorial:
If a database does not have the database option “Enforce a consistent Access Control List across all replicas of this database”, it cannot be used to return a text list of information about the current user. @UserNamesList can be used for a database on the server or on a local database.
The following information can be obtained about the current user:
• Common name
• All hierarchical names
• Roles associated with the user in the ACL
• Groups associated with the user (only if the database is on a server)
Reference:
1. Domino Designer 7 Help – search on: @UserNamesList
2. Domino Administrator 7 Help – search on: Using Groups and Roles to determine what controls user access
3. RedBook – Domino Designer 6: A Developer’s Handbook – Chapter 13 http://www.redbooks.ibm.com/abstracts/sg246854.html?Open