you don't have to setup a separate program..as long as the server has WMI services installed on it.. you can get to these resources via Remote are you familiar with C#...? I would suggest looking at WMI using C# for a simple example. that is how I learned it and I am a Delphi Developer.. I have to learn it using a different lang.. then I was able to convert the examples into Delphi --- Steve Riley <[EMAIL PROTECTED]> wrote:
> Hi Thomas > > Does that mean I have to setup a program on every > machince for it to work? > > I was hoping to just get the user name, I can ping > the machine to see if it > is switched on, but just need to know if a user is > still logged on or not > > > > Thanks > > Steve > > > > _____ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf > Of Thomas Hruska > Sent: 01 June 2007 18:07 > To: [email protected] > Subject: Re: [delphi-en] Get User Login Name from > another computer > > > > Steve Riley wrote: > > Hi All > > > > I need to find out who is logged onto another > machine on my network > > > > i know that GetUserName collects the information > about the current user on > > my machine > > but how can i find out about a different machine > from my own machine, > > > > any code would be great > > Thanks in advance > > > > Steve > > Steve, > > GetUserName() is really only useful for the > currently logged in user. > At any given time in Windows NT, multiple users are > logged in: NETWORK, > SYSTEM, and maybe a few actual people. The only way > I see an > application working as expected would be to write a > program that uses > sockets to send the value of GetUserName() to a > specific machine on the > network from logged in user accounts. > > -- > Thomas Hruska > CubicleSoft President > Ph: 517-803-4197 > > *NEW* VerifyMyPC 2.5 > Change tracking and management tool. > Reduce tech. support times from 2 hours to 5 > minutes. > > http://www.CubicleS > <http://www.CubicleSoft.com/VerifyMyPC/> > oft.com/VerifyMyPC/ > > > > > > [Non-text portions of this message have been > removed] > > ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/

