Re: Obtaining the logged in user from a remote machine
From: Dale Preston (dalepres_at_nospam.nospam)
Date: 03/18/05
- Next message: Mészáros Tamás: "input focus"
- Previous message: Bob Hanson: "Questions regarding Nunit testing"
- In reply to: Sam Evans: "Obtaining the logged in user from a remote machine"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Mar 2005 18:57:30 -0600
How to get the logged in user on a remote machine using WMI:
http://www.microsoft.com/technet/scriptcenter/scripts/desktop/logon/dmlgvb02.mspx
How to use WMI in C#:
http://www.csharphelp.com/archives2/archive334.html
HTH
DalePres
MCAD, MCDBA, MCSE
"Sam Evans" <wintrmte@gmail.com> wrote in message
news:a62dnXfh74wsJ6TfRVn-2w@giganews.com...
> All,
>
> I am trying to figure out how I can obtain the userid of an individual
> who's logged into a PC by using a remote call. What I'm ultimately
> attempting to do is something along the lines of 'nbtstat' where it
> shows the domain and the userid who is logged in.
>
> Does anyone have any C# code they can point me to, or perhaps some MSDN
> information?
>
> Thank you,
> Sam
- Next message: Mészáros Tamás: "input focus"
- Previous message: Bob Hanson: "Questions regarding Nunit testing"
- In reply to: Sam Evans: "Obtaining the logged in user from a remote machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|