GTi,
Yes, but you shouldn't do this. First, there might not be a logged in
user, and second, there may be multiple logged in users.
What you want to do is have your service expose a remoting endpoint, and
then have a program that runs in the client space which connects to the
service and passes/gets the appropriate information.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
GTi said:
Is there any way I can find out if there is any user logged on the
desktop from a service?