SYNOPSIS
int MGOinsempnetid (Validation *val)
DESCRIPTION
The MGOinsempnetid() function inserts a new empnetid record. Information
is passed through val. The required and optional fields are:
- val.validid (r)
- val.uwnetid (r)
- val.lname (o)
- val.fname (o)
val.validid is the validation id.
val.uwnetid is the uwnetid name.
val.lname is the last name. val.fname is the first name.
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
- MGO_E_MAR - One or more of the required arguments were missing
- MGO_E_IAR - Invalid or ambiguous argument
- MGO_E_PMD - Permission denied. See access control
- MGO_E_EXI - Record already exists
- MGO_E_ICU - Invalid character found in uwnetid
- MGO_E_SQL - An SQL error occurred. See MGOerrmsg for details
AUTHENTICATION LEVEL
wmango
SEE ALSO
MGOdelempnetid(),
MGOselempnetid(),
MGOzero()