5 Replies Latest reply on Feb 16, 2018 7:41 AM by james1.hicks

    Use Rest API to get user security groups to display additional sections of a custom Add On based on group?

    james1.hicks

      I want to be able to target each user's security groups to check if they are in a particular group in order to display an additional section of our Add On. Is this possible? I was reading the API and I am confused on whether I can in fact target the security groups.

       

      1. Is this possible to target a user's security groups? Or is there not a straight forward way I should go about this?

      2. If it is possible, will the call work if a user is not an admin? Would want every user who uses the add on to go through the check of whether they are in the security group.

      3. If possible, can you provide an example of how this can be done? The documentation on the REST API is a little lacking.

       

       

      Thank you