通过窗口服务跟踪当前记录的用户名。 [英] Track the current logged user name through window service..

查看:146
本文介绍了通过窗口服务跟踪当前记录的用户名。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要服务在运行时启动。我需要捕获登录/ log

off /切换用户事件。我还没有达到这个目的,但是从窗口服务中可以获得





你能帮助我吗? ..ASAP ..







谢谢

Anvesh

解决方案

阅读: http://stackoverflow.com/questions/5218778/how-to-get-currently-logged-username-from-windows-service-in-net [ ^

I need the service to start at runtime. I need to capture log on / log
off / switch user events. I haven't gotten to that yet, but it is
possible from within a windows service

Could you please help me in that...ASAP..



Thanks
Anvesh

解决方案

Read this : http://stackoverflow.com/questions/5218778/how-to-get-currently-logged-username-from-windows-service-in-net[^]


这篇关于通过窗口服务跟踪当前记录的用户名。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆