从 log.nsf 获取用户详细信息

发布于 2024-10-02 15:28:11 字数 178 浏览 0 评论 0原文

你好 我的问题是:在 log.nsf 中,有上周访问过的数据库条目。我无法找到这些值所在的位置,因为我从 C# 获取这些值并使用 domino.dll 作为参考。

请帮助我获取一周内任何用户的数据库点击次数。这样我就可以检查我的数据库是否处于活动状态以及用户访问的数量。

提前感谢

Ankit

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 out 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

相对绾红妆 2024-10-09 15:28:11

我认为你使用了错误的方法。我要做的是创建一个包含两个字段的表单 - 用户名和访问计数以及按用户名排序的视图。每次在数据库中打开脚本时,都会在视图中搜索当前用户的文档并更新计数器 (+1)。如果未找到文档 - 为当前用户创建它,将计数器设置为 1 并保存。如果您还需要日期,您可以向文档添加日期字段而不使用计数器,只需在每次打开数据库时创建一个文档并创建按日期分类的视图以查看使用情况。每天的文档数量会显示您的使用情况。如果您愿意,您还可以为每个用户添加类别。我认为使用 log.nsf 来达到此目的并不是一个好方法。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文