Company Control

Sort:
You are not authorized to post a reply.
Author
Messages
KB
Posts: 23
    I am wondering if anyone has developed any Company Control security rules and would be willing to share an example of a rule that has been written using Company Control.

    Thx
    Jimmy Chiu
    Veteran Member
    Posts: 641
    Veteran Member
      if(user.attributeContains('CompanyControl',lztrim(table.COMPANY)))
      'ALL_ACCESS'
      else
      'NO_ACCESS'
      KB
      Posts: 23
        Thanks Jimmy for the followup. Did you tie this to an Element or on a table by table basis?
        Jimmy Chiu
        Veteran Member
        Posts: 641
        Veteran Member
          You can do it either way, form, element and/or files.
          You are not authorized to post a reply.