LotusScript to C API Programming Guide
rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login

Ready-to-use samples

Getting started - OSLoadProgram
Getting special documents (About, Using, Icon)
Conversion of C API Code sample code for the use...
Item Information and Memory Management
Checking users’ access rights
Getting server statistics
Retrieving and updating Db replica information,...
Selective replication settings
Delete Agent Data
Delete without leaving a deletion stub
Setting OLE Object flags (editing $OLEOBJECT...
Retrieving and modifying $Fonts
Retrieving and modifying $Fonts (v2)
Retrieving and modifying doclinks
Editing reference type items
Importing RTF File
Getting an information on available servers
Retrieving unread documents in views and updating...
Getting available shares (Win32)
FileOpen Dialog (Win32)
Init session (Visual Basic)
Retrieval of Notes Rich Text and callbacks...
Refreshing design, callbacks and string...

 

Hosted by Prominic.NET, Inc.

Checking users’ access rights


This sample shows how to test any particular user’s access rights in the database. As we know it is quite easy to test current user’s access level using NotesDatabase.CurrentAccessLevel property. However, frequently we may have a script that has to run with the signer’s rights who has quite a wide access. Here we are interested to know what the user who is currently running the script can do: if he can read the linked document, if he can edit some particular document.


User: Password:

This website contains material that complements "LotusScript to Lotus C API Programming Guide". Some parts of it including posting of comments and discussion items are available only to authenticated readers of the book. Enter your username and password to authenticate.

You should have cookies and JavaScript enabled for the authentication to work..

You should have received your username and password by email to the address you provided during the purchase of the book. In case you failed to receive it or you have any problems loging in let me know about it.