开发者

fetch user details from log.nsf

开发者 https://www.devze.com 2023-01-25 12:40 出处:网络
hi My question is : In log.nsf , there are entries database accessed in last week. I am not able to find where these values resides as i am fetching these values from c# and using the domino.dll as r

hi My question is : In log.nsf , there are entries database accessed in last week. I am not able to find where these values resides as i am fetching these values from c# and using the domino.dll as reference.

kindly help me ou开发者_如何学Ct to fetch the number of hits of database from any user in week. So that i can check that my database is active and how much being accessed by users.

Thanks in Advance

Ankit


I think you use wrong approach. What I would do is to create a form with two fields - user name and access count and a view sorted by user name. Each time in the database open script search in the view for a document for he current user and update counter (+1). If no document found - create it for current user, set counter to one and save. If you also need dates, you can either add date field to the document and not use counter, just create a document every time your database has been opened and create a view categorized by date to see the usage. Number of documents per day would show you the usage. You can also add category per user if you like. I think using log.nsf for this purpose is not a good approach.

0

精彩评论

暂无评论...
验证码 换一张
取 消