user_memb

The user_memb table defines users’ membership of groups.

Structure

The user_memb table has the following structure:

TABLE user_memb (
node_id INTEGER NOT NULL,
user_id INTEGER NOT NULL,
group_id INTEGER NOT NULL)

Column

Description

node_id

ID of the node that this user/group combination is defined on, as defined in the nodes table.

user_id

ID of the user who belongs to the group, as defined in the user_names table.

group_id

ID of the group that the user belongs to, as defined in the user_names table.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

pk_user_memb

user_id
node_id
group_id

Triggers

None.

Indexes

The following index is defined for this table.

Index Name

Column(s) Indexed

idx_user_memb

user_id
group_id

Table Activity

The user_memb table contains one row for every user/group member relationship defined on the system. For example, if a user is a member of three different groups, there are three rows for that user in this table.

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 Users data area has been modified.

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

updated

never.

deleted

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

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