title: Clean document roles in a Doc Library
body: <p>I have been developing an event handler to clean up the RolesAssignments of the new item of a document library in MOSS. I’ve searched for a method that could clean all the RolesAssignments efficiently, although  the best way I found seams to be loop through the RolesAssignments and delete one by one?  Is there another way to clean all the RolesAssignments for an item?</p>
  
  <p>The code I’m using for cleaning the RolesAssignments look like this:</p>
  
  <pre><code>    for (int i = ListItem.RoleAssignments.Count - 1; i &gt;= 0; --i)
      { 
          ListItem.RoleAssignments.Remove(i); 
      }
  </code></pre>
  
  <p>Does anyone have any ideas on how to deal with this?</p>