Listing http users in the Server Console

Hi,

We are running Domino 6.5 Server on Windows 2003.

I have a strange problem. When I execute ‘tell http show users’ in the server console, the output I get does not always show the full canonical name of the user.

for e.g.

A user lets say ‘CN=Kevin Hill/O=SomeName’

this users has the following entries in the FullName field in the person document.

Kevin Hill/SomeName

Kevin Hill

P00100547

The 100547 is the emplyee code of the employee. All users always login from the browser using the P00empcode format.

Now when I execute ‘tell http show users’ in the server console, I sometimes get Kevin Hill/SomeName and sometimes it is P00100547.

The same happens if I use other variants like ‘show allusers’ or ‘show inetusers’ or ‘show inetusers -xml’.

The reason I required a standardised value of username being, I need to write an agent to restrict user access from more than one machine at the same time. ( not that again !! :-)). the idea being i execute a console command from my agent (while login happens) to get the list of users being curently logged in and their IP addresses and then …

Does anybody have an idea or can push me in the right direction.

regards,

Kevin

Subject: Listing http users in the Server Console

Hi,

Read this post today, since I had the same problem: I’ve written an agent that enters the “show inetusers -xml” console command to create a “who’s online” list in our web app.

I’ve solved it in the agent by performing the following @formula command for every username found:

@NameLookup( [NOUPDATE]; “usernameFound”; “FullName”)

(using the Evaluate command in LotusScript)

This will return the first value of the FullName field in the user’s person document, which is the value I needed.

Mark