Firebird: creating users and roles, from a tool or from inside the Clarion application

Applies to: Firebird in 2004; the Clarion version is not named. The thread cites the InterBase 6 Language Reference.

Problem

The poster asked how to create users with roles in Firebird, and then whether the application written in Clarion could create users, passwords and roles itself.

Solution

  1. From a tool: IBExpert Personal Edition (free), Tools, User Manager, creates users.
  2. For roles use SQL: in isql, create role (the name follows), as one poster put it.
  3. After CREATE ROLE use GRANT. The reply pointed to the InterBase 6 Language Reference, CREATE ROLE on page 69 and GRANT on page 123.
  4. Asked whether the application can do it, the reply was "Yes" and gave the same two statements, CREATE ROLE and then GRANT.

Caveats

  • The thread does not show how the statements are sent from Clarion, nor how users and passwords are created from code.
  • The page numbers refer to a 2004 manual.
  • The poster did not report back.

Today (2026)

Not re-tested. CREATE ROLE and GRANT are still standard Firebird statements, but the thread's page references and tool menus are old.

Sources: Carlos F. (Jun 2004, the question), Robert M., Pablo S. (Jun 2004) in softvelocity.clarion.databasedrivers.