开发者

AD get logged in user ip from username

开发者 https://www.devze.com 2023-03-03 22:18 出处:网络
开发者_如何学运维Is there a way to get logged in user\'s ip address from Active Directory with its username? (except Security Event Logs)

开发者_如何学运维Is there a way to get logged in user's ip address from Active Directory with its username? (except Security Event Logs)

Thanks in advance..


No - AD is a pretty "static" repository of information about users and groups and computers.

But AD does not contain things like who is logged on and from what client machine. You'll have to look into server (management) API's or WMI or something like that.

Here's a link to a blog post showing how to use WMI from PowerShell to grab the logged on users. Something like that might help you find out the logged in users

0

精彩评论

暂无评论...
验证码 换一张
取 消