Skip to Content
Former Member
May 20, 2009 at 08:37 PM

Create User and link it to new Employee


Good Day Everyone,

I have successfully created a VB script that handles the registration of a new User in our SBO Company, but I cannot find the way to link it with a new Employee card. It is my understanding that I need to associate these two objects through the following code:

oEmployee.ApplicationUserID = oUsr.InternalKey

How can I retrieve the newly created userid as the use of a mere


returns 0 ?

Is it the correct way to proceed ?

Thank you for your answers,


Edited by: donbuz on May 20, 2009 10:39 PM