Get the logged user ID in zoho CRM (zoho.loginuserid does not work because it returns the email)
context: I made a function on the deals to create quotes based on the deal information so the user does not have to fill all the form on the quote, so you press the bottom and hula! you have a new quote and don't have to fill anything but I'm having a problem, when I create this quote the deal owner will be the quote owner and if another user try to create the quote and then try to modified it he will be not be allow to do it because he is not the quote owner so I'm trying to get the logged user ID like "882677000100814001" to insert it on the quote owner.
Deal_owner = getDeal.get('Owner').get('id'); /// get the user id (need this but for the User logged)
Deal_owner = zoho.loginuserid; // get the user email
Deal_owner = zoho.loginuser; // get the user name