def get_role_id(rolename)
      pglimit = 100
      res = @conn.get('/api/v1/roles&limit=' + pglimit.to_s)
      rolecount = res['count'].to_i
      id = role_data_from_results(res, rolename)
      return id if id

      pages = (rolecount / pglimit) + 1
      2.upto(pages) do |i|
        res = @conn.get('/api/v1/roles&limit=' + pglimit.to_s + '?page=' + i.to_s)
        id = role_data_from_results(res, rolename)
        return id if id
      end
      nil
    end
def get_role_id(rolename)
      pglimit = 100
      res = @conn.get('/api/v1/roles&limit=' + pglimit.to_s)
      rolecount = res['count'].to_i
      id = role_data_from_results(res, rolename)
      return id if id

      pages = (rolecount / pglimit) + 1
      2.upto(pages) do |i|
        res = @conn.get('/api/v1/roles&limit=' + pglimit.to_s + '?page=' + i.to_s)
        id = role_data_from_results(res, rolename)
        return id if id
      end
      nil
    end
gets the role ID for the role named rolename
 will page through all the roles available searching for the site
 @param [String] rolename the name of the role to find
 @return [Integer] the id of rolename
 this will iterate through the roles pages