Hello everyone.
How can I get information from Active Directory by Printer name ?
I have a list of IP addresses, i use 'System.Net.information.Dns' to get the printer name, there are 35 printers in all.
I will use this Link to get propreties name , but i don't know how to proceed after

dirEntry = New DirectoryEntry("LDAP://...", UserName, Password)

Can anyone help please ? thanks in advance.

Recommended Answers

All 2 Replies

I personally used this article as a reference when I was struggling with AD.

I hope this helps you as much as it helped me.

Thank you i will check this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.