Solved

Modyifying DB Property User Activity: Record Activity ?

Posted on 2003-11-26
7
742 Views
Last Modified: 2013-12-18
Hi, there!
I'm trying to find a way to get / set the DB property "Record User Activity" - using R5.
I can get/set the "Is User Activity Confidential" option by calling NSFDbGetOptions(), but I cannot figure out how to tell notes to start or stop recoding user activity.
Is this possible? ... probably yes, with undocumented API calls ...
Does anybody know about those?
0
Comment
Question by:Badda
  • 4
  • 3
7 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9824730
Actually, the server shoudl be setting that property on every night, unless either:

a) admin turned off statlog task (very unlikely)

b) admin set a parameter which tells statlog not to turn n usage tracking (somewhat unlikely)

Otherwise, if you still need the API call, let me know.  I can only see using it if either you either are scriptig the creation of DBs that you want to enable tracking on immediately... or have a very obstinate admin.
0
 
LVL 1

Author Comment

by:Badda
ID: 9824854
Actually, this is for an Application Management tool. We dont allow users to have Manager/Designer access to production applications. Users can create / update / modify / delete / ...  applications via this tool only, so corporate standards and guidelines can be enforced.

Now, users were complaining that they cannot modify the User Activity Properties via that tool - they always have to open a call with the corporate help desk for that.

Now what I want to do is to enable this management tool to let the users change the User Activity Properties, just the way they would be able to do via the DBproperties dialog.

Thats what I need those API calls for ...
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9825350
Well, like  I said, it will be enabled for them that night whether they ask for it or not.

I thought I had some undocumented flags listed somewhere, but I can't seem to find it.

I would just do a remote console command run of statlog.  (Unless you have the "no force" INI option on, that will do it.)

0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 1

Author Comment

by:Badda
ID: 9835570
Ok, but I still don't entirely understand ....
In the DB properties dialog -> Info tab -> User Detail, there are two checkboxes (record user activity, is activity confidential). I can check/uncheck them manually and they both stay that way, no matter if statlog is running or not and no matter how long I wait.
That means, this is actually a DB property that can be set/unset by the Notes Client. To modify DB properties, the Notes Client uses the Notes API. Than in turn means, there _must_ be a way to modify this property with the API - is this right or am I missing something?

So, what would be the process for a script to
- check the "record user activity" checkbox
- uncheck the box
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 250 total points
ID: 9837798
Unfortunately, "wrong."

There are TWO core APIs in Notes.  One used by the developers of Notes and Domino.  The other, a subset, is the public API.  Since we do not have access to the internal API, we can define the API as only the pubic API.  And that checkbox used by the Notes client accesses something in the internal API that was not exposed to the external API. hence from our perspective, it is not in the API.

Further, all the checkbox does via the API), is set a flag in the database: record activity/do not record activity.  Statlog does the same thing -- it always turns the flag on when it runs, unl;ess told not to update the flag (a special NOTES.INI variable).  When you turn it off in the client, it will automatically turn on again when statlog runs... if it runs, and if it has not been told not to.  If yuo wait 24 hours, you will know whether or not it is doing this.
0
 
LVL 1

Author Comment

by:Badda
ID: 9837915
Ok, thanks for the info. I will check how I can do that with statlog. Otherwise I'll keep looking for that undocumented API property ... ;-)
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9839379
Well, if you are willing to trash your database a bit, you can try systematically setting all flag values, one at a time, that are not already documented, and see when the DB begins recording activity.  Then document it to us here!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now