Kent,
Didn't have any time for this (or for lots of other stuff too and it won't change for some times )
But the little i've just seen, session give you ConnectTime, and also ComputerPath and UserPath properties
You can use them to get your hand on the user and computer objects, using WinNT:// or LDAP:// (depends of the Path the property gives)
I'm sure you'll be able to do all you want with this.

Too bad, i've got a script in mind for this, but not the time to make and test it.
It would be something like that (easy one, but you got the point) :

code:

$fso = GetObject("WinNT://DomainServerName/LanmanServer")
; Enumerates sessions
If fso <> ""
For Each $session In $fso.sessions
$oCurrentUser=getobject("LDAP://"+$session.userpath)
$oCurrentComputer=getobject("LDAP://"+$session.userpath)
$CurrentSessionInfo={
$oCurrentUser.samaccountname
$oCurrentUser.Fullname
$oCurrentUser. everything you want that is available, like AdsPath, CN, ...
$oCurrentComputer.Name ...
$session.ConnectTime
}

Recordinfile($CurrentSessionInfo)

Next $Session
EndIf


Function Recordinfile($TextToOutput)

endfunction


I've designed this one assuming the User/Computer Path properties return the full LDAP path. If not, go on WinNT://
Get a look here for LDAP object properties

[ 19 February 2002: Message edited by: Alex.H ]

_________________________
? getobject(Kixtart.org.Signature)