code: public List<CmsUser> getUsers(CmsObject cms, String ouFqn, boolean recursive) throws CmsException {
  
          CmsOrganizationalUnit orgUnit = readOrganizationalUnit(cms, ouFqn);
          return m_securityManager.getUsers(cms.getRequestContext(), orgUnit, recursive);
      }
docs: Returns all users of the given organizational unit.<p>
  
  @param cms the opencms context
  @param ouFqn the fully qualified name of the organizational unit to get all principals for
  @param recursive if all users of sub-organizational units should be retrieved too
  
  @return all <code>{@link org.opencms.file.CmsUser}</code> objects in the organizational unit
  
  @throws CmsException if operation was not successful