Win XP:登录/注销用户 [英] Win XP: Log users on/off
本文介绍了Win XP:登录/注销用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要编写代码来确定用户登录的内容,以及哪些
可以关闭用户。任何人都可以引导我使用这样的命名空间/ API吗?谢谢。
- Lew
I need to write code which can determine what users are logged on, and which
can log users off. Can anyone steer me to such a Namespace/API''s? Thanks.
- Lew
推荐答案
Hello Lew,
LBI需要编写可以确定用户登录的代码,
Systen.Environment.UserName
LBand可以登录用户关闭。
这是什么意思?
---
WBR,
Michael Nemtsev ::博客: http://spaces.live.com/laflour
有时一个人仍忠于某一事业,因为它的对手不会因为b $ b不再是平淡无奇的。 (c)Friedrich Nietzsche
Hello Lew,
LBI need to write code which can determine what users are logged on,
Systen.Environment.UserName
LBand which can log users off.
What does it mean?
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Michael,
感谢您的回复。这是什么意思? (回复:家长监督)我需要
才能注销特定用户。 - Lew
" Michael Nemtsev" < ne ***** @ msn.com写信息
新闻:17 ************************* **@msnews.microsof t.com ...
Michael,
Thanks for responding. What does it mean? (Re: parental supervision) I need
to be able to log off a specific user. - Lew
"Michael Nemtsev" <ne*****@msn.comwrote in message
news:17***************************@msnews.microsof t.com...
Hello Lew,
LBI需要编写可以编写的代码确定用户登录的是什么,
Systen.Environment.UserName
LBand可以关闭用户。
这是什么意思?
---
WBR,
Michael Nemtsev ::博客: http://spaces.live.com/laflour
有时一个人仍然忠于一个事业,只因为它的对手确实这样做,而且不会停止平淡无奇。 (c)Friedrich Nietzsche
Hello Lew,
LBI need to write code which can determine what users are logged on,
Systen.Environment.UserName
LBand which can log users off.
What does it mean?
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche
Hello lewb,
使用WTSLogoffSession用户的会话ID
http://msdn.microsoft.com/library/de...tification.asp
sample is there http://www.pinvoke.net/default.aspx/ .. .ffSession.html
l迈克尔,
l感谢您的回复。这是什么意思? (回复:父母监督)
lI需要
lto能够注销特定用户。 - Lew
l" Michael Nemtsev" < ne ***** @ msn.com写信息
lnews:17 ************************* **@msnews.microso ft.com ...
l>
Hello lewb,
Use WTSLogoffSession with the user''s session ID
http://msdn.microsoft.com/library/de...tification.asp
sample is there http://www.pinvoke.net/default.aspx/...ffSession.html
lMichael,
lThanks for responding. What does it mean? (Re: parental supervision)
lI need
lto be able to log off a specific user. - Lew
l"Michael Nemtsev" <ne*****@msn.comwrote in message
lnews:17***************************@msnews.microso ft.com...
l>
> Hello Lew,
LBI需要编写可以确定用户记录的代码
上,
Systen.Environment.UserName
LBand可以关闭用户。
这是什么意思?
--- < br> WBR,
Michael Nemtsev ::博客: http://spaces.live .com / laflour
有时一个人仍然忠实于一个事业,只因为它的对手不会停止平淡。 (c)Friedrich Nietzsche
>Hello Lew,
LBI need to write code which can determine what users are logged
on,
Systen.Environment.UserName
LBand which can log users off.
What does it mean?
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev ::博客: http://spaces.live.com/laflour
有时一个人仍然忠实于一个事业只因为它的对手不会因为b $ b不再是平淡的。 (c)Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
这篇关于Win XP:登录/注销用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文