Hi,
Is there any API using which i can determine if a given username has access to a particular DocUNID? And if yes, can i determine if he has Reader access or more.
TIA
Priya
Hi,
Is there any API using which i can determine if a given username has access to a particular DocUNID? And if yes, can i determine if he has Reader access or more.
TIA
Priya
Subject: API to determine if user has access to given DocUNID
I’m not sure what you mean by API here. Do you need to do this programmatically for all documents, or a subset of documents or do you just need to check on the access for a particular document for a particular user one time?
Document level security is controlled by Reader and Author fields. Some programmers give these fields different names. By convention, the Local Servers and either an Administrative Group or ID typically have read and author access to all documents in a database.
Using an ID that has access to all documents, you can click on the document from a view to select it, then click on the Properties icon. Click on the 2nd tab of the properties dialog box to view a list of the fields and their properties and values.
Look for fields with names like “Readers”, “Authors”, “Editors” or something similar. If you can’t find it that way, check each of the fields by clicking on the field name in the left-hand list and then check the Data Type property, it should say Reader or Author as the type. At the bottom of the document properties it will list the values, or the names of the people and/or groups in the respective fields.
These values can be access programmatically using LotusScript or formula language.
Best regards,
Gail Spurlock