skip to main content
Interface Provider API : Reference : OAIP_connect, OAIP_connectW
 

OAIP_connect, OAIP_connectW

This function connects to the given logical database using the supplied user name and password. On a successful connection, it returns an IP connection handle. This is the IP connection handle that is supplied by the OpenAccess SDK SQL engine to the IP on EXECUTE and other calls. The IP can validate the user and password and generate a DAM_FAILURE if the user is not authorized to access the database. The IP can also set up data structures to enforce user rights to SELECT, DELETE, INSERT and UPDATE tables. You must implement either OAIP_connect or OAIP_connectW in your IP.