Reg availability of logged in user info in public apps

Reg availability of logged in user info in public apps

Dear Users,

Username and emailid of the logged in user is available as zoho variables in all the applications created using Zoho Creator. The variables zoho.loginuser and zoho.loginuserid can be used in scripting to write logic based on the user viewing your application.

For eg: You can have an application in Creator where you have data related to all your customers but you can make sure that each of the customers is able to view only those records that belong to them based on their logged in username or emailid.

Here is a sample view that will display records selectively based on the loginuserid.

list "Customer_Specific_Info_view"
{
show all rows from Customer_Info [Emailid == zoho.loginuserid]
(
Name
Company
Emailid
)
}









As of now, login user context is available to both private and public applications. The table given below lists the zoho variables and value of the variables in different scenarios.




Since we feel that it is not appropriate to return the user information of a person when he is viewing a public application, we have decided to change the values returned by zoho variables in our update scheduled next week. The change is marked in Red in the table below.




How does this change impact your application

If you have used the variables zoho.loginuser or zoho.loginuserid in any of your public applications, it will not work as expected due to the change in values returned by zoho variables.

Correction to be done

You just have to make the application as private and share the application to your users.

Thanks,
Suganya.
































                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation
                                        • Sticky Posts

                                        • Merge and Store v1 API depreciation

                                          Hi Zoho Writer users, The Merge and Store v1 API allows you to store the merged document in Zoho WorkDrive. The response of this API will be returned with the document's ID only after the merge is complete. In Deluge, the maximum timeout for operation
                                        • Zoho Creator Developer's Conference 2017 !!!

                                          We welcome all our Creator Developers! You're invited to join us for our annual Zoholics Developers conference August 29th–31st! This is your chance to get training and guidance on Zoho Creator from our most knowledgeable custom app builders.       Zoholics Developers is a three-day event where you'll participate in interactive workshops to hone your app-building skills, get questions answered by Creator experts with personal one-on-one sessions, and connect with other Creator developers from around
                                        • Share your success story

                                          We would like to hear from our passionate users how much Zoho Creator has changed the way you work and benefited you. If you would like to share your story to us and be featured as a proud user of Zoho Creator, then this is for you. Fill up the form below and if you want to be included in a case study, we will get in touch with you to get further details. So what are you waiting for? Tell us your story. Charles


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now