Hi Idrees,
Unfortunately, this will not work. In order to make a DI API (and UI API)
connection to SAP Business One you must supply a User ID and password, this
user must be assigned a valid license for connection. To test this, try logging
on to SAP Business One client with this user ID and password.
For detailed information on the licensing mechanism, refer
to the License Guide in the Documentation folder of the SAP Business One
installation folder.
Best Regards,
Daniel