I've made a service, but now I want to check if a user has logged on, and if not, increase a variable. then I shut down windows is not logged on for 15 minutes.

the problem is, how to check if a user has logged in on win2k as a service?

thanks in advance.