Routines for rt_dbbr.kb


ComputeRights

File Name

rt_dbbr.kb

Syntax

ComputeRights( REF user_ID: String, REF rights: Integer )

Parameters

user_id - user ID

rights - user rights

Returns

None

Side Effects

None

Description

This procedure takes the user ID and returns the user's rights based on the user record and all rights the user inherits from its group memberships.

Dialog Forms Called

None


LoadAllRights

File Name

rt_dbbr.kb

Syntax

LoadAllRights: LIST OF RightsRecord

Parameters

None

Returns

String

Side Effects

None

Description

This function should be called at the beginning of the application to set the global variable rightsList.

Dialog Forms Called

None


LoadGlobalRightsRequiredList

File Name

rt_dbbr.kb

Syntax

LoadGlobalRightsRequiredList( REF rightsReqList: List of RightsRequiredRecord )

Parameters

rightsReqList - list to hold all the defined button rights in the system

Returns

Nothing

Side Effects

None

Description

This function is used to load all the button-level security rights that are defined in the system into the global variable rightsReqList. These rights are checked each time a dialog box is opened. If any buttons exist that the user does not have the right to use they are disabled.

Dialog Forms Called

None