Answers.Body: <p>It looks like you should be using CiviGroup Roles Sync</p>
  
  <p>You should check the documentation here</p>
  
  <p><a href="https://docs.civicrm.org/sysadmin/en/latest/integration/drupal/group-roles/" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/integration/drupal/group-roles/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-21T17:23:17.997Z
Answers.LastActivityDate: 2018-11-21T17:23:17.997Z
Answers.UserDisplayName: Tony Horrocks
Answers.Body: <p>Take a look at <a href="https://docs.civicrm.org/civirules/en/latest/" rel="nofollow noreferrer">civirules</a> and see if you can set up a rule so that New Individual gets added to a Group.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-23T05:49:14.410Z
Answers.Text: I tried that also but my scenario is different. If I logged in by **user1** which is connected to **group1** and if he add new individual contact then that contact must goes in **group1**. If I logged in by **user2** which is connected to **group2** and if he add new  individual contact then that contact must goes in **group2**.
Answers.UserDisplayName: Dipak Giri
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-23T20:26:26.713Z
Answers.Text: 1/ if you used multisite and user1 only logged in via domain1 then the new contact would be added to group1
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-23T20:27:48.103Z
Answers.Text: 2/ if you used webforms then user1 could use a form that only role1 has access to which which adds new users to group1
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T19:43:34.840Z
Answers.LastActivityDate: 2018-11-22T19:43:34.840Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I created a three group and three organization  g1,g2,g3,o1,o2,o3 respectively.
  I also created a 3 drupal role og1, og2, og3.I assigned these three groups to three user drupal role.I logged in by uesr1 assigned a og1 group. When I am creating a new individual it must add into default group i.e. in g1 group but it is not happening. <br>
  My scenario is that when I will create a new individual it must have a default group.
  <a href="https://i.sstatic.net/8Bu5m.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8Bu5m.png" alt="enter image description here"></a>
  If I add new Individual, it must auto choose a defualt group.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-21T14:17:53.623Z
Comments.Text: This doesn't appear to involve CiviCRM.  Is this purely a Drupal question?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-21T18:50:30.103Z
Comments.Text: Dipak - if you are specifically referring to Organic Groups then pls clarify in your question
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-22T04:45:16.420Z
Comments.Text: No. I am not using any Organic group. Please refer a image
Comments.UserDisplayName: Dipak Giri
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-22T05:54:57.340Z
Comments.Text: In my scenario OG means organization group (og1,og2...).These are just a drupal role.
Comments.UserDisplayName: Dipak Giri
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-22T19:43:54.610Z
Comments.Text: Thanks for clarifying - it confused several of us
Comments.UserDisplayName: petednz - fuzion
Tags: <groups>
Title: Auto add into user group
ThreadText: # Auto add into user group
  
  (Asked by: username_0 on 2018-11-21)
  
  I created a three group and three organization g1,g2,g3,o1,o2,o3 respectively.
  I also created a 3 drupal role og1, og2, og3.I assigned these three groups to three user drupal role.I logged in by uesr1 assigned a og1 group. When I am creating a new individual it must add into default group i.e. in g1 group but it is not happening.   
  My scenario is that when I will create a new individual it must have a default group.
  [![enter image description here](https://i.sstatic.net/8Bu5m.png)](https://i.sstatic.net/8Bu5m.png)
  If I add new Individual, it must auto choose a defualt group.
  
  **Tags:** groups
  
  > **Comments:**
  > **username_1**: This doesn't appear to involve CiviCRM.  Is this purely a Drupal question?  
  > **username_2**: Dipak - if you are specifically referring to Organic Groups then pls clarify in your question  
  > **username_0**: No. I am not using any Organic group. Please refer a image  
  > **username_0**: In my scenario OG means organization group (og1,og2...).These are just a drupal role.  
  > **username_2**: Thanks for clarifying - it confused several of us  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2018-11-21. Score: 1
  
  It looks like you should be using CiviGroup Roles Sync
  
  You should check the documentation here
  
  <https://docs.civicrm.org/sysadmin/en/latest/integration/drupal/group-roles/>
  
  
  ---
  
  ### Answer by username_2 on 2018-11-22. Score: 0
  
  Take a look at [civirules](https://docs.civicrm.org/civirules/en/latest/) and see if you can set up a rule so that New Individual gets added to a Group.
  
  > **Comments:**
  > **username_0**: I tried that also but my scenario is different. If I logged in by **user1** which is connected to **group1** and if he add new individual contact then that contact must goes in **group1**. If I logged in by **user2** which is connected to **group2** and if he add new  individual contact then that contact must goes in **group2**.  
  > **username_2**: 1/ if you used multisite and user1 only logged in via domain1 then the new contact would be added to group1  
  > **username_2**: 2/ if you used webforms then user1 could use a form that only role1 has access to which which adds new users to group1  
  
  ---
  
  