Toggle navigation menu
OpenNTF Snippets
Other Sites
OpenNTF
Collaboration Today
XPages.info
Anonymous
Login
Back
Determine if an author can edit a document (alternative)
You have to login first to use 'My Favorites' feature
5 user(s) has marked as favorite:
Eric McCormick
Grégory DEVISE
Marcis Berzinskis
Martin Rolph
Steve Cochrane
Language
JavaScript (Server)
Tags
Author
Paul S Withers
Submitted on
October 8, 2013 at 9:20 AM
Rating
Downloads
105
Notes
Of course this is using the NotesContext Java class, so can be used from Java. The parameter passed is a NotesDocument object. Thanks to Nathan T Freeman
Select XSnippet to copy to Clipboard
Embed XSnippet
Report
var ctx = com.ibm.domino.xsp.module.nsf.NotesContext.getCurrent(); return ctx.isDocEditable(doc);
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the
Apache License Version 2.0
. See
Terms of Use
for full details.
No comments yet
Login first to comment...
Toggle navigation menu
Hosted by OpenNTF
Terms of Use
Privacy Policy
Contact OpenNTF
Follow OpenNTF
Follow Snippets