title: How to prevent some users to open a document from a Lotus view?
body: <p>I have:</p>
  
  <ul>
  <li>a Lotus view which holds lots of documents,</li>
  <li>a field X on every document, which holds users, who should be able to open this document.</li>
  </ul>
  
  <p>How can I prvent opening a particular document for all users except those listed in filed X?
  I guess this could be done through QueryOpenDocument event, but would need some assistance on how to construct the code.</p>
  
  <p>Thanks.</p>