4 Replies Latest reply: May 24, 2016 10:21 AM by Mindaugas Bacius RSS

    Section access for Objects security based on field criteria

    murugasarathi palanivelu

      Hi

      I have a scenario where i need to secure an object based on a field (Country)

       

      my section access code is:

       

      SECTION Access;

      LOAD ACCESS,

           NTNAME

      FROM

      [\Data\User Access\User Access.xlsx]

      (ooxml, embedded labels, table is Sheet1);

       

      ChartAccessMatrix:

      LOAD * INLINE [

      NTNAME, CH01, CH02, Country_view

      USER1,1,1,INDIA

      USER2,1,1,CHINA

      USER3,1,1,JAPA

      ];

       

       

      NTNAMEACCESS
      USER1ADMIN
      USER2USER
      USER3USER

       

      Could you please suggest me how to apply a condition so that the object is visible only the user matches with the country.

       

      Thanks

      Sarathi