Current user in SBO SDK
Using vb.net in Business One SDK is there a variable from which the user internal-key can be established ?
Owen Slater replied
There is a Company object in the UI API as well as the DI API. In the UI API, the company object has a UserName property which returns the USERID value from the OUSR table.
Dim oCompany As SAPbouiCOM.Company = SBO_Application.Company Dim sUserName = oCompany.UserName