2 Replies Latest reply on May 23, 2016 1:41 AM by nt_saurabh

    How to set Custom Field Priviledges using script?

    nt_saurabh

      Hi,

       

      Can i set custom field priviledges using script via layout?

       

      Like as i can create/delete/enable account using script but i want to change field access priviledge from layout.

       

      I don't want to go security session for set Custom Field Priviledges?

       

      Anyone can help me about this thing....!!!

        • 1. Re: How to set Custom Field Priviledges using script?
          keywords

          It's not clear to me what you are trying to achieve. Does setting the fields in question to hide based on the privilege set of the current user get you there?

          • 2. Re: How to set Custom Field Priviledges using script?
            nt_saurabh

            I want to set priviledge for users based on fields.i.e.

             

            Suppose, we have one table A with 10 fields (Field A, Field B, Field C ....etc) and 5 users.

             

            I want to assign field priviledge for below users based on job :

             

            User1 have 9 fields access.

            User2 have 4 fields access.

            :

            :

            etc

             

            So, result should be like that :

                                      Modifiable      View    No Access

            User1     Field1      Yes             

                          Field2       Yes

                          Field3       Yes

             

            User2     Field1                                     Yes           

                          Field2       Yes

                          Field3                       Yes

             

            I don't want to go to security part but it should be changed using script. Is there any way to change using script or other technique?