--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/704015c9-2baa-404b-813a-9bffe0eff779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,Why are you not using the Group Mapping feature of LDAP (https://docs.sonarqube.org/display/PLUG/LDAP+Plugin) ?+++
On Tue, 13 Jun 2017 at 19:32 Bindu <bittu...@gmail.com> wrote:
Thanks colin, I was able to use the mentioned API`s for creating groups.Now i am trying to use Sonarqube API for syncing all LDAP groups automatically which are created in LDAP and also want to associate LDAP groups to specific projects. Is there any API available for this operation ?Looking forward to your response.--On Thursday, June 8, 2017 at 12:14:11 AM UTC-4, colinh...@gmail.com wrote:
1. You can check to see if a group exists within SonarQube first by using GET api/user_groups/search (https://sonarcloud.io/web_api/api/user_groups)
2. If it doesn't exist, go ahead and add it using POST api/user_groups/create (https://sonarcloud.io/web_api/api/user_groups). If your LDAP is configured correctly, just having the group exist is all it needs to make the connection.3. Should/when it does exist, add permissions to a project using POST api/permissions/add_group (https://sonarcloud.io/web_api/api/permissions)On Wednesday, June 7, 2017 at 11:02:30 PM UTC-4, Bindu wrote:Hi,I am trying to use Sonarqube API to achieve the following:1. Adding LDAP groups to specific project so that only users of that LDAP group will have access to that project.2. Adding LDAP groups to administrator roleAre these operations exposed as part of the Sonarqube API's ?If so, please can you share the documentation of Sonarqube rest API which explains about different endpoints exposed as part of the API and how we can use them.Looking forward to your response.Thank you.
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/704015c9-2baa-404b-813a-9bffe0eff779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/704015c9-2baa-404b-813a-9bffe0eff779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Julien Lancelot | SonarSource
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/CAFGxpZg%3DXOb6-xkScoRSoaLVXz%2Bxr-kM2qtkfE5HW2saoQtSxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/704015c9-2baa-404b-813a-9bffe0eff779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Julien Lancelot | SonarSource
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/CAFGxpZg%3DXOb6-xkScoRSoaLVXz%2Bxr-kM2qtkfE5HW2saoQtSxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.