久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Active Directory 檢查用戶是否登錄

Active Directory check if user is logged in(Active Directory 檢查用戶是否登錄)
本文介紹了Active Directory 檢查用戶是否登錄的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在嘗試使用活動目錄來判斷用戶當前是否已登錄.活動目錄可以做到這一點嗎?

I am trying to use active directory to tell if a user is logged in currently. Is this possible with active directory?

我可以檢查用戶有什么角色 User.IsInRole(@"domain.comTeamLead")

I can check what role the user has User.IsInRole(@"domain.comTeamLead")

但是我看不到任何內容來查看他們當前是否已登錄.

But I'm not seeing anything to see if they are currently logged in or not.

推薦答案

嚴格使用 Active Directory,您將無法獲得此信息.Active Directory 不存儲此類信息.您可以通過 GPO 打開登錄審核并查詢個人計算機,但這可能會很麻煩.

By strictly using Active Directory, you will not be able to get this information. Active Directory doesn't store this type of information. You can turn on Login Auditing through GPO and query individuals computers, but that could be messy.

外部解決方案可能是psloggedon:
http://technet.microsoft.com/en-us/sysinternals/bb897545.aspx
雖然這并不理想.

An outside solution could be psloggedon:
http://technet.microsoft.com/en-us/sysinternals/bb897545.aspx
Though that is hardly ideal.

AFAIK 沒有開箱即用的數據存儲來跟蹤當前登錄到域的用戶.

AFAIK there is no out of the box datastore that keeps track of which users are currently logged into a domain.

另一種選擇是制作一個登錄/注銷腳本,寫入特定的文件/數據庫,您可以監控該文件以查看誰登錄.

Another alternative could be to craft a logon/logoff script that writes to a particular file/database and you could monitor that file to see who is logged in.

這篇關于Active Directory 檢查用戶是否登錄的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Why shouldn#39;t I always use nullable types in C#(為什么我不應該總是在 C# 中使用可空類型)
C# HasValue vs !=null(C# HasValue vs !=null)
C# ADO.NET: nulls and DbNull -- is there more efficient syntax?(C# ADO.NET:空值和 DbNull —— 有沒有更高效的語法?)
How to set null value to int in c#?(如何在c#中將空值設置為int?)
How to handle nulls in LINQ when using Min or Max?(使用 Min 或 Max 時如何處理 LINQ 中的空值?)
Method call if not null in C#(在 C# 中如果不為 null 的方法調用)
主站蜘蛛池模板: 久草在线影 | 国产成人jvid在线播放 | 欧美不卡一区 | 日韩三级在线 | 国产日韩精品在线 | 日韩免费1区二区电影 | 日韩av免费在线观看 | 亚洲黄色一级 | 久久精品久久久久久 | 91在线免费观看网站 | 97在线观视频免费观看 | 欧美 日韩 国产 一区 | 国产情侣在线看 | 成人午夜黄色 | 亚洲精品在线免费 | 日韩亚洲视频 | 亚洲经典一区 | 成人av在线播放 | 国产乱码精品一区二区三区忘忧草 | 奇米影视在线 | 精品国产区 | 播放一级黄色片 | 中文字幕视频一区二区 | 综合久久网 | 日韩欧美在| 国产高清精品在线 | 国产欧美日韩二区 | 亚洲欧美成人在线 | 在线观看国产视频 | av网址在线| 国产精品一区二区视频 | 国产精品久久久久久吹潮 | 久久精品伊人 | 久久国产精品精品国产色婷婷 | 国产一区二区麻豆 | 久久久久无码国产精品一区 | 伊人一区| 国产成人免费视频网站高清观看视频 | 久久久国产精品网站 | 国产电影精品久久 | 欧美一级欧美一级在线播放 |