Reputation: 997
How can I retrieve with C# a computer IP were a user logged using active directory?
Upvotes: 0
Views: 1467
Reputation: 32586
You would have to query the Security Event Log on any domain controllers that may have authenticated the user. The logon event will contain the name (and I think the IP) of the workstation used to logon.
Upvotes: 1