title: get printer in Active directory restricted or not
body: <p>I create a C# application that communicate with AD and I want to get if the printer is resticted or not from properties and its a piece of code here</p>
  
  <pre><code>deSearch.Filter = String.Format("(&amp;&amp;&amp;(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 I can get here if this printer is restricted or not
  
  }
  </code></pre>
  
  <p>I also found nTSecurityDescriptor attribute in printer attributes .Is it helpful for me or is can get if printer restricted or not?</p>
  
  <p><strong>Note</strong>  Its under .Net Framework 3.5</p>
  
  <p>All ideas are welcomed</p>