Returns an indication of whether the specified system object has "signed on" (whether the user ID and password have been validated at some point in the life of the specified system object).
UINT CWB_ENTRY cwbCO_HasSignedOn( cwbCO_SysHandle system, cwb_Boolean *signedOn );
The following list shows common return values:
A returned indication of CWB_TRUE does not mean that the user ID and password have been validated within a certain time period, but only that since the system object's creation, a signon has occurred. That signon may not have caused or included a connection and security validation flow to the iSeries system. This means that, even if CWB_TRUE is returned, the next call to the system object that requires a successful signon might connect and attempt to re-validate the user ID and password, and that validation, and hence the signon, may fail. The signedOn indicator reflects the results of the most-recent user ID and password validation. If user ID and password validation (signon) has occurred successfully at one time, but since then this validation has failed, signedOn will be set to CWB_FALSE.