SYNOPSIS

int MGOinsvaladmin (Admin *adm)

DESCRIPTION

The MGOinsvaladmin() function inserts a new validation admin record. Information is passed through adm. The required fields are:

adm.principal is the principal name. adm.code is the validation source reference code. adm.comment is the comment field, used to state why the principal was added, etc.

RETURN VALUE

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

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOdelvaladmin(), MGOselvaladmin(), MGOselrvalsource(), MGOupdvaladmin(), MGOzero()