Record Owner Id from zoho.loginuserid

Record Owner Id from zoho.loginuserid

Hey,
I'm trying to set the owner of a new record as the current logged in user, using this:
  1. data.put("Owner",{"id":zoho.loginuserid});
I'm getting an error that the id must be long (type), but there doesn't seem to be a proper way to convert it (from string).

I'd appreciate any help on this matter.

M.