int MGOseluwnetid (Uwnetid **lst, Uwnetid *uwn)
The MGOseluwnetid() function selects uwnetid records. Information is passed through uwn and returned through the linked list lst. The selection criteria fields are:
uwn.uwnetid is the uwnetid name. uwn.uid is the (high) uid value. uwn.luid is the (low) uid value. uwn.account is the account name. It typically is set to the encrypted employee number, student number, or some other unique value. Any of the above may be specified in any combination. The following fields are set for each selected uwnetid:
Note: A value of '-2' for either the uid or luid indicates no value has been assigned.
Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
rmango
MGOdeluwnetid(), MGOfreeuwnetid(), MGOinsuwnetid(), MGOupduwnetid(), MGOzero()