Skip to Content

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

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 ?

replied

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,

Owen

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