title: How to get a list of all user groups in Modx Revolution
body: <p>Trying to get a list of group names from modx revolution, digging through the API and docs, but not having much luck finding a function that does this. </p>
  
  <p>How can I get a list of groups [names &amp; ids] in a snippet from a modx revolution instance>?</p>