List Info

Thread: Re: Get User Login Name from another computer




Re: Get User Login Name from another computer
country flaguser name
United States
2007-06-01 12:26:48

I think if I am not mistaken that you can get this
information as well using the System.Management class
I have done this in C# .net and I am sure that there
is an easier way to use the same methodology in Delphi
I would look at Delphi examples using "WMI"

--- Thomas Hruska < thruska%40cubiclesoft.com">thruskacubiclesoft.com> wrote:

> Steve Riley wrote:
&gt; > 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
&gt; > Thanks in advance
> >
> > Steve
>
> Steve,
&gt;
> 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
&gt; CubicleSoft President
> Ph: 517-803-4197
>
> *NEW* VerifyMyPC 2.5
> Change tracking and management tool.
&gt; Reduce tech. support times from 2 hours to 5
> minutes.
>
> http://www.CubicleSoft.com/VerifyMyPC/
>
>

__________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

__._,_.___
.

__,_._,___
RE: Get User Login Name from another computer
country flaguser name
United Kingdom
2007-06-02 00:57:05

Thanks, I have searched google but can't find anything, I will look for WMI

Steve

_____

From: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com [mailto: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com] On Behalf
Of Marselle Caston
Sent: 01 June 2007 18:27
To: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
Subject: Re: [delphi-en] Get User Login Name from another computer

I think if I am not mistaken that you can get this
information as well using the System.Management class
I have done this in C# .net and I am sure that there
is an easier way to use the same methodology in Delphi
I would look at Delphi examples using "WMI&quot;

--- Thomas Hruska <thruskacubiclesoft <mailto:thruska%40cubiclesoft.com>
.com> wrote:

> Steve Riley wrote:
&gt; > 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
&gt; > Thanks in advance
> >
> > Steve
>
> Steve,
&gt;
> 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
&gt; CubicleSoft President
> Ph: 517-803-4197
>
> *NEW* VerifyMyPC 2.5
> Change tracking and management tool.
&gt; Reduce tech. support times from 2 hours to 5
> minutes.
>
> http://www.CubicleS <http://www.CubicleSoft.com/VerifyMyPC/&gt;
oft.com/VerifyMyPC/
>
>

__________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today!
http://surveylink.
<http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7&gt;
yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )