Routines for usercach.kb


GroupExists

File Name

usercach.kb

Syntax

FUNCTION GroupExists(REF group: STRING): BOOLEAN;

Parameters

group - group that checks whether a group exists.

Returns

TRUE, if the group exists, FALSE otherwise.

Side Effects

None

Description

This function tells whether a given group exists.

Dialog Forms Called

None


LoadGroups

File Name

usercach.kb

Syntax

procedure LoadGroups;

Parameters

None

Returns

Nothing

Side Effects

None

Description

This function loads groups from the database into a global variable G_GROUPS.

Dialog Forms Called

None


LoadSites

File Name

usercach.kb

Syntax

PROCEDURE LoadSites;

Parameters

None

Returns

Nothing

Side Effects

Inserts sites into G_SITES. Changes value of g_by_site.

Description

This function loads sites into G_SITES if G_SITES if not already filled.

Dialog Forms Called

None


PickGroupEvent

File Name

usercach.kb

Syntax

EVENT PickGroupEvent(REF contextRecord: PickGroupEventContextRecordType);

Parameters

contextRecord - record for carrying information for the event

handler

Returns

Nothing

Side Effects

None

Description

This is the event handler for picking groups.

Dialog Forms Called

pickusr.dfc[pickgroup]

pickusr.dfc[multi_select_groups_form]

pickusr.dfc[non_multi_select_groups_form]


PickGroupFromList

File Name

usercach.kb

Syntax

FUNCTION PickGroupFromList ( VAL parentwhdl: WINDOW, VAL group : STRING, VAL skill : SkillsEventRecord, VAL isLocal: BOOLEAN, VAL multiOnOrOff: BOOLEAN ): STRING;

Parameters

parentwhdl - window to which to attach the window for the

system action

group - group used to filter the group list

skill - skill used to filter the group list

isLocal - tells whether the group is local or not

multiOnOrOff - tells whether multi-select should be on or off

Returns

String

Side Effects

None

Description

This function allows one to pick a group from a list of groups. This list may be filtered by skill.

Dialog Forms Called

groups.dfc[workwithgroups]


PickSecureGroupFromList

File Name

usercach.kb

Syntax

None

Parameters

parentwhdl - window to which to attach the window for the

system action

Context - context in which the group is being picked

Returns

String

Side Effects

None

Description

This function allows one to pick a group from a list.

Dialog Forms Called

groups.dfc[workwithgroups]


PickUserFromList

File Name

usercach.kb

Syntax

FUNCTION PickUserFromList ( VAL parentwhdl: WINDOW, VAL user : STRING, VAL skill : SkillsEventRecord, VAL isLocal : BOOLEAN ): STRING;

Parameters

parentwhdl - window to which to attach the window for the

system action

user - user to filter the given list of users

skill - skill used to filter the user list

isLocal - tells whether the user is local or not

Returns

String

Side Effects

None

Description

This function allows one to pick a user from a list of users. This list may be filtered by a given skill.

Dialog Forms Called

pickusr.dfc[pickuser]


UserExists

File Name

usercach.kb

Syntax

FUNCTION UserExists(REF user: STRING): BOOLEAN;

Parameters

user - user whose existence is checked

Returns

TRUE, if the user exists, FALSE otherwise

Side Effects

None

Description

This function tells whether a given user exists.

Dialog Forms Called

None