Tell me how you can display a list of users and the computer name of this user from AD using c #. It turns out only separately unload.

  • Well, unload separately. If something actually nobody forbids by default domain \ user to log in from any domain machine. And, by the way, it would be nice to attach the code with which you get the user lists and the computer name to the question, otherwise it seems to me that you do not quite describe what you have in the code. Well, or more precisely - you can misunderstand your explanation. But the code - it will be unique. - AK
  • As I recall, in AD there is no such thing as "computers of this user." If nothing has changed recently, then there is only the history of the "logons" of the user on the domain PCs. Logon events are written on the domain controller to the Windows Logs -> Security category. In the details of the event there is an ip address of the host from which the attempt was made. So you most likely need to collect information from these logs. - de_frag

0