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