role_users

The role_users table holds information about which roles are defined on the system, and which queues are assigned to them.

Structure

The role_users table has the following structure:

TABLE role_users (
node_id INTEGER NOT NULL,
role_id INTEGER NOT NULL,
role_name VARCHAR(15) NOT NULL,
usernode_name VARCHAR(49) NOT NULL)

Column

Description

node_id

ID of the node that this role is registered on, as defined in the nodes table.

role_id

Unique ID for this role.

role_name

Name of this role.

usernode_name

Name of the (user or group) queue that the role is assigned to, as defined in the user_names table.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

pk_role_users

role_id
node_id

Triggers

None.

Indexes

The following index is defined for this table.

Index Name

Column(s) Indexed

idx_role_users_fk

node_id

Table Activity

The role_users table contains one row for each role defined on the system.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

a Move System Information is performed, if the flag_table indicates that the Roles data area has been modified.

Note: The table is purged and rewritten using the values from the tsys_role_users table.

updated

never.

deleted

a Move System Information is performed, if the flag_table indicates that the Roles data area has been modified.

Note: The table is purged and rewritten using the values from the tsys_role_users table.