Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Current user in SBO SDK

Using in Business One SDK is there a variable from which the user internal-key can be established ?


Hi Barry,

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

Kind Regards,


1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question