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

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607