CRM/Deluge - Can't assign task to user in Wizard

CRM/Deluge - Can't assign task to user in Wizard

Hello all,

I'm creating a wizard for Zoho CRM and writing a custom script for the complete button in deluge. This script creates a task, and is supposed to assign the user who created it as the following fields: Created_By, Modified_By, and Task_Owner.

Regardless of what I enter into the script (and with plenty of Googling), I can't seem to get the numeric value of the user to assign the task to them. Here's what I've got:

tMap = Map();
cBy = Map();
mBy = Map();
tOw = Map();
cBy.put("name",zoho.loginuser);
cBy.put("id",zoho.loginuserid);
mBy.put("name",zoho.loginuser);
mBy.put("id",zoho.loginuserid);
tOw.put("name",zoho.loginuser);
tOw.put("id",zoho.loginuserid);
tMap.put("Created_By",cBy);
tMap.put("Modified_By",mBy);
tMap.put("Task_Owner",tOw);
tMap.put("Subject",subject);
tMap.put("Due_Date",dueDate);
tMap.put("Date",dueDate);
tMap.put("Status","Not Started");
tMap.put("What_Id",all_data);
tMap.put("$se_module","Leads");
createResp = zoho.crm.createRecord("Tasks",tMap);

This will create a task, but it leaves the aforementioned fields as the owner of our Zoho instance. Any help would be appreciated :)
    Zoho Marketing Automation

              Zoho Pagesense Resources

                Zoho SalesIQ Resources



                      Zoho TeamInbox Resources

                        Zoho DataPrep Resources



                          Zoho CRM Plus Resources

                            Zoho Books Resources


                              Zoho Subscriptions Resources

                                Zoho Desk Resources

                                  Zoho Projects Resources


                                    Zoho Sprints Resources


                                      Qntrl Resources


                                        Zoho Creator Resources


                                          Zoho WorkDrive Resources




                                              Zoho Campaigns Resources

                                                Zoho CRM Resources

                                                        Design. Discuss. Deliver.

                                                        Create visually engaging stories with Zoho Show.

                                                        Get Started Now