By
Published: 17 Apr 2007
How do I determine the current access level of a user using LotusScript? Thanks in advance.
One way is to cheat and use Formula language:
Dim result as variant
Result=Evaluate("@UserAccess")
This is the most direct method you can use. If you need more detail, however, such as whether the authenticated user has access to delete documents, you may need to access the Lotus Notes database's NotesACL object.
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchDomino.com:
Expert Advice: Accessing documents in a Lotus Notes database
FAQ: Formula language for Lotus Notes and Domino
Reference Center: Lotus Notes/Domino authentication, access and policies
Dig Deeper on Lotus Notes Domino Access, Permissions and Authentication
A user wants to know if it's possible for LotusScript to read an attachment in a Notes document without first detaching it. Find out our expert's ...
Continue Reading
Learn about different options using LotusScript code and Formula language to customize the principal field of outgoing Lotus Notes email messages.
Continue Reading
Read about merging cells in a Microsoft Word table using LotusScript and an Excel example, along with the thought process that goes along with it.
Continue Reading