Routines for ema_bind.kb


BindValidateEmailUser

File Name

ema_bind.kb

Syntax

BindValidateEmailUser( VAL userName:STRING, REF tempRow:BindListRowRec);

Parameters

userName - e-mail user account name

tempRow - the record of the found item

Returns

1 = granted

0 = denied

$Unknown = user not in database or database access error

Side Effects

None

Description

This function provides information about valid access to the system. The TMG administrator has the ability to deny access to the user. There are three relevant values for the verification of user accessibility: Granted, Denied, and "user is unknown". For the "unknown" case, it is up to the caller to decide whether this means granted or denied. It is assumed that you are already connected to the database and that the BindInit routine has already been called. The GUI is assumed to be inoperable during this call, that is, module record field userActivity is FALSE.

Dialog Forms Called

None