I am writing a code for get all active directory user details with System.DirectoryServices but
i didn't find a way to get logon workstation (LogOnTo field) of each user.
Is there any way to get users workstation name? thank you for your time and sharing your knowledge.
in
System.DirectoryServicesyou can user LDAP Filter(&(objectCategory=User)(objectClass=person))to get AD Account Details and you can try the folowing for get user workstation's name: