title: How can I get the Document Libraries permissions in Sharepoint 2010?
body: <p>I'm developing a Webpart and I need to go through every document library and get its permissions. Basically I need to get the groups and its permissions associated with the document library.</p>
  
  <p>I have iterated through the properties and methods of a <code>SPDocumentLibrary</code> object but couldn't find anything really.</p>
  
  <p>Any help or guide would be appreciated.</p>
  
  <p>Thank you</p>