Skip to Content
0
Aug 19, 2010 at 07:59 PM

How to get the internal user id from oCompany object

14 Views

Hi,

Right now, i need to get current user object from oCompany object. But the problem is I can only know the username from oCompany object. But it seems Users object only supports GetByKey(int internal_key). I can use SQL query to get that internal key, but is there any way in DI ?

Thanks!

Lan