?
Solved

Obtain User Access level in LotusScript...

Posted on 1999-07-21
1
Medium Priority
?
928 Views
Last Modified: 2013-12-18
I need to obtain a user's access level, from the ACL of the currently opened database, within lotusscript. The @UserAccess function returns the info I'm looking for, but doesn't seem to work in Script.

Sample code would be appreciated.

Thanks!
0
Comment
Question by:SAK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
ghassan99 earned 200 total points
ID: 1119937
this is a simple script to fetch the current user's access level:
Dim session As New NotesSession
Dim db As NotesDatabase
Dim level As Integer
Set db = session.CurrentDatabase
level = db.CurrentAccessLevel

The return values are one of these:
ACLLEVEL_NOACCESS No access
ACLLEVEL_DEPOSITOR Depositor access
ACLLEVEL_READER      Reader access
ACLLEVEL_AUTHOR      Author access
ACLLEVEL_EDITOR      Editor access
ACLLEVEL_DESIGNER Designer access
ACLLEVEL_MANAGER Manager access


0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question