|
|
|
start date: Fri, 27 Apr 2007 03:02:26 +0530,
posted on: microsoft.public.dotnet.myservices
back
| Thread Index |
|
1
SenthilVel
|
|
2
Lee Gillie
|
|
3
Rahul
|
How to get the Logged in User name from windows service ?
hi
My windows service is running under the LocalSystem account.
how do i get the Logged in User Name of the machine from a windows Service?
Thanks
Senthil
http://dotnetcrunch.blogspot.com/
Date:Fri, 27 Apr 2007 03:02:26 +0530
Author:
|
Re: How to get the Logged in User name from windows service ?
Which logged in user? You say "THE" like there could be only one!
Consider remoted users, and terminal servers, etc.
SenthilVel wrote:
> hi
>
> My windows service is running under the LocalSystem account.
> how do i get the Logged in User Name of the machine from a windows Service?
>
> Thanks
> Senthil
> http://dotnetcrunch.blogspot.com/
>
>
Date:Mon, 07 May 2007 14:19:21 -0700
Author:
|
Re: How to get the Logged in User name from windows service ?
for example,
Yes, this there could be - remoted users, and terminal servers(WTS) logged
in uers.
the scenario is like this:
if the user has logged in to the server: "MyServerDom" with loginid
"Administrator" then I want to display it as: "MyServerDom\Administrator"
using the windows service.
"Lee Gillie" wrote:
> Which logged in user? You say "THE" like there could be only one!
> Consider remoted users, and terminal servers, etc.
>
> SenthilVel wrote:
> > hi
> >
> > My windows service is running under the LocalSystem account.
> > how do i get the Logged in User Name of the machine from a windows Service?
> >
> > Thanks
> > Senthil
> > http://dotnetcrunch.blogspot.com/
> >
> >
>
Date:Tue, 24 Jul 2007 06:10:00 -0700
Author:
|
|
|