get printer in Active directory restricted or not
i create c# application communicate ad , want if printer resticted or not properties , piece of code here
desearch.filter = string.format("(&&&(objectclass=printqueue)(printername={0})(location={1})(drivername={2})))", queuename,location,modelnumber); searchresultcollection results = desearch.findall(); foreach (searchresult result in results) { string description = result.properties["description"][0].tostring().trim(); //how can here if printer restricted or not }
all ideas welcomed
hello,
as programming here main part, better use msdn forum instead one, there coding experts:
http://social.msdn.microsoft.com/forums/en/categories/
best regards meinolf weber disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights.
Windows Server > Directory Services
Comments
Post a Comment