Stonefield Query has multiple levels of security.

The first level is login security. If the user does not have a valid user name and password, they cannot log into Stonefield Query and therefore cannot run any reports.

The next set of levels are role-based (roles are referred to as "user groups" in Stonefield Query because users found that easier to comprehend than "roles"). The administrator of a Stonefield Query installation can create users and roles in the Maintain Users and Groups dialog (available from the Tools menu) and assign a user to one or more roles. All users are automatically a member of the Everyone role. For example, if Mary is a member of both the Administrators and Managers roles, she can access both the Maintain Users and Groups dialog and any reports available only to Managers. If Bob is a member of the Clerks role, he cannot access the Maintain Users and Groups dialog (a user has to be a member of the Administrators role for that) nor any reports available only to Managers, but can access any reports available to Everyone and those available only to Clerks.

Roles are used in several ways:

If a user is a member of more than one role, their rights are ORed when determining their access to a particular report, folder, table, or field. For example, suppose John is a member of the Managers and Clerks roles. Managers has access to the Payroll table but Clerks does not. Clerks has access to the Products report but Managers does not. In that case, John has access to both the Payroll table and the Products report, since he is a member of roles with access to those items.

Security information is stored in the set of tables described in the Security Tables topic.