SYNOPSIS

int MGOselsuperuser (Admin **lst, Admin *adm)

DESCRIPTION

The MGOselsuperuser() function selects superuser records. Information is passed through adm and returned through the linked list lst. The selection criteria fields are:

adm.principal is the principal name. If unspecified, all records are returned. The following fields are set for each selected superuser:

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

MGOdelsuperuser(), MGOfreeadmin(), MGOinssuperuser(), MGOupdsuperuser(), MGOzero()