如何知道当前登录Windows平台的用户? [英] how to get to know which user is currently logged in windows platform?
本文介绍了如何知道当前登录Windows平台的用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的项目中,我有两个用户,一个是Admin,另一个是Operator。
i想知道当前登录的是哪个用户,所以我可以隐藏一些表单控件。
是否可以在Windows平台上使用?
可以帮助我任何人。
In my project i have two user,one is Admin and another Operator.
i want to know which user is currently logged in,so i can hide some of form controls.
is it possible in windows platform?
can any one help me.
推荐答案
是, 有可能的。设计它你会得到它。
-SA
Yes, it is possible. Design it and you will get it.
—SA
这篇关于如何知道当前登录Windows平台的用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文