title: Salesforce Metadata API Deployment Not pushing System Permissions
body: <p>How do you get the System Permissions to be pulled?</p>
  
  <p>I am working on building a <a href="http://www.salesforce.com/us/developer/docs/api_meta/index.htm" rel="nofollow">Metadata deployment</a> for our company, and part of the deployment includes creating several new profiles.  We are trying to capture all of the permissions for these profiles, but can't seem to get the system permissions to match in our test runs.</p>
  
  <p>I know that when you retrieve the profile object, <a href="http://www.salesforce.com/us/developer/docs/daas/salesforce_migration_guide.pdf" rel="nofollow">what you get is dynamic, based on what other object you are retrieving.</a> (see Chap 4 bullet 2)</p>
  
  <p>The Following System Permissions are different between our source and destination environment</p>
  
  <pre><code>Customize Application
  Manage Connections
  Manage Custom Report Types
  Manage Dashboards
  Manage Public Documents
  Manage Public List Views
  Manage Public Reports
  Manage Public Templates
  Manage Translation
  Manage Users
  Modify All Data
  Reset User Passwords and Unlock Users
  + Send Email
  Transfer Record
  View All Data
  </code></pre>
  
  <p>note: + indicates added in the destination.  All others are lost.</p>