IDatabaseUserAssociateId Property |
Namespace: SuperOffice.COM.SuperOfficeDB
Get Id of the current user
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objso set objso = CreateObject("superofficedb.database") If not (objSO is nothing) Then objso.login "<userid>","<password>" userid = objso.userassociateid set userobj = objso.getassociate(userid) msg = userobj.fullname msgbox msg, vbinformation, "superoffice user currently logged in:" else msgbox "unable to connect to database" end if set objso = nothing