0
votes

there is a way to pick up (by code) who are currently using a particular DB. It could be Java, Lotusscript, Formula, anything, I just want to know who is currently using it. I would put it in a agent.

2

2 Answers

1
votes

In general, no, there is no way. You could build a way in your own application by adding code that tracks each user whenever they open it, and timing them out to decide when they have stopped using it, but there's nothing built-in to do that.

0
votes

I did it! In Domino Administrator there is a way to see who is using all databases in that server. Here's a example

Actually you see "sh users" shell command in a beautiful way.

So what I did was use the "session.Sendconsolecommand('server', 'sh users')". It returns me the data on the above image in a String.

There was a pattern so I search in It if the user is currently using the DB.