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

Active Directory 檢查用戶是否登錄

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

問題描述

我正在嘗試使用活動(dòng)目錄來判斷用戶當(dāng)前是否已登錄.活動(dòng)目錄可以做到這一點(diǎn)嗎?

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")

但是我看不到任何內(nèi)容來查看他們當(dāng)前是否已登錄.

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

推薦答案

嚴(yán)格使用 Active Directory,您將無法獲得此信息.Active Directory 不存儲(chǔ)此類信息.您可以通過 GPO 打開登錄審核并查詢個(gè)人計(jì)算機(jī),但這可能會(huì)很麻煩.

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 沒有開箱即用的數(shù)據(jù)存儲(chǔ)來跟蹤當(dāng)前登錄到域的用戶.

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

另一種選擇是制作一個(gè)登錄/注銷腳本,寫入特定的文件/數(shù)據(jù)庫(kù),您可以監(jiān)控該文件以查看誰登錄.

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.

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

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

相關(guān)文檔推薦

Why shouldn#39;t I always use nullable types in C#(為什么我不應(yīng)該總是在 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#中將空值設(shè)置為int?)
How to handle nulls in LINQ when using Min or Max?(使用 Min 或 Max 時(shí)如何處理 LINQ 中的空值?)
Method call if not null in C#(在 C# 中如果不為 null 的方法調(diào)用)
主站蜘蛛池模板: 中文字幕亚洲精品 | 日韩在线精品视频 | 91精品国产综合久久久久久丝袜 | 欧美精品99 | 综合色播 | 91视频日本 | 国产一区二区三区久久久久久久久 | 欧美午夜一区 | 国产日韩一区二区三免费 | 久久婷婷麻豆国产91天堂 | 欧美成人aaa级毛片在线视频 | 成人午夜视频在线观看 | 精品国产欧美一区二区 | 国产成人精品久久二区二区91 | 神马久久久久久久久久 | 成人小视频在线观看 | 一级在线观看 | 九九热在线精品视频 | 国产一区二区三区日韩 | 激情五月综合 | 欧美黄在线观看 | 久久99精品久久久久久琪琪 | 久久精品欧美一区二区三区不卡 | 亚洲午夜精品一区二区三区他趣 | 久久最新精品 | 国产情侣一区 | 成人国产精品久久久 | 91欧美精品成人综合在线观看 | 欧美久久久久久 | 亚洲情侣视频 | 久久精品亚洲 | 久久久久国产一区二区三区 | 国产精品99 | 国产一区二区三区视频 | 日韩一区二区三区在线观看 | 午夜日韩 | 午夜影晥 | 在线播放中文 | 国产婷婷精品 | 天天拍天天操 | 亚洲国产精品视频一区 |