Class UsersForGroupQuery

java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<String[]>
com.illumon.iris.db.v2.permissions.UsersForGroupQuery
All Implemented Interfaces:
RemoteQuery<String[]>, Serializable

public class UsersForGroupQuery extends ContextAwareRemoteQuery<String[]>
Helper query that returns an array of users mapped to group, if no mapping exists an empty array will be returned.
See Also:
  • Constructor Details

    • UsersForGroupQuery

      public UsersForGroupQuery(String group)
      Constructor that initializes the group value to use
      Parameters:
      group - The group for which the user mapping is being queried
  • Method Details

    • execute

      public String[] execute(Database database)
      Description copied from interface: RemoteQuery
      Execute a query on a remote host.
      Parameters:
      database - database to use for execution.
      Returns:
      result of the query.