SYNOPSIS

int MGOselaffiliation (Validation **lst, Validation *val)

DESCRIPTION

The MGOselaffiliation() function selects affiliation records. Information is passed through val and returned through the linked list lst. The selection criteria fields are:

val.uwnetid is the uwnetid name. val.validid is the validation id. val.source_code is the validation source reference code. You can specify either a uwnetid, or a validid and source_code or all three. The following fields are set for each selected affiliation:

RETURN VALUE

Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

rmango

SEE ALSO

MGOdelaffiliation(), MGOfreevalidation(), MGOinsaffiliation(), MGOupdaffiliation(), MGOzero()