IsCurrentAccessPublicReader (NotesDatabase - JavaScript™)
Read-only. Indicates whether the current user has public reader access in a database.
Defined in
NotesDatabaseSyntax
isCurrentAccessPublicReader()
: boolean
Legal value | Description |
---|---|
true |
if the user has public reader access |
false |
if the user does not have public reader access |
Usage
The database must be open to use this property.Examples
This computed field displays the public reader access for the current database.if (database.isCurrentAccessPublicReader()) {
return "You have public reader access"
} else {
return "You do not have public reader access"
}