SYNOPSIS

int MGOupdsubadmin (Admin *adm)

DESCRIPTION

The MGOupdsubadmin() function updates an existing subscription admin record. Information is passed through adm. The required fields are:

adm.principal is the principal name. adm.code is the subscription reference code. adm.comment is the comment field, used for stating why the principal was added. You can only change the comment field. To change the other fields, you must insert a new record.

RETURN VALUE

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

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOdelsubadmin(), MGOinssubadmin(), MGOselsubadmin(), MGOselrsubscription(), MGOzero()