Add a process to the LOGIN paragraph that writes information about that udt process, such as it's path, to a file. That file can be queried to determine all paths.
Don't forget to add something to the LOGOUT paragraph to remove that information so that the file is always current. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett > Sent: Monday, March 13, 2006 9:26 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] [UD] Determine path logged on users are in > > How does one go about determining the account (path) other > users are logged into? If I do an "LISTUSER" I get: > > 2 Dtademo (0)-> lu > > Licensed(UDT+CP)/Effective UdtSqliPhtmPooledTotal > > ( 2 + 0 ) / 2 10001 > > UDTNO USRNBR UID USRNAME USRTYPE TTY IP-ADDRESS > TIME DATE > 1 2232 197615 wphaskett udt pts/1 192.168.1.51 > 14:36:27 Mar 13 > 2006 > 2 1844 197615 wphaskett udt pts/2 192.168.1.51 > 18:17:13 Mar 13 > 2006 > > 2 Dtademo (0)-> where > E:\IBM\ud71\DtaDemo > > I'd like to allow some users to list all users logged onto > their application (logged into their accounts) then give them > the option to log them off. I'm not sure if this is possible > in UniData. > > Any ideas would be appreciated. As always, thanks. :-) > > Bill Haskett > Advantos Systems, Inc. > www.advantos.net > (760)944-5570 (CA) > (360)923-4838 (WA) > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/