Answers.Body: <p>CiviCRM Group-Role Sync doesn't work with smart groups - but you can make a static group to sync to and make it a child group of the smart group.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-08T22:50:52.253Z
Answers.Text: i thought Group-Role sync worked Civi > Drupal. Question seems to be asking for the reverse.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-10T00:01:09.717Z
Answers.Text: @petednz-fuzion Group-Role sync is bidirectional: https://github.com/civicrm/civicrm-drupal/blob/7.x-master/modules/civicrm_group_roles/civicrm_group_roles.module#L58
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-08T16:35:55.170Z
Answers.LastActivityDate: 2017-12-08T16:35:55.170Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I need all users of a particular Drupal role to be added to a CiviCRM Smart Group. (All Drupal users are currently also CiviCRM contacts.)</p>
  
  <p>The site uses CiviCRM 4.4.21 and Drupal 7.56</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-08T22:51:22.547Z
Comments.Text: You could look in to Drupal Rules (maybe with Civicrm Entity) to see if you can add to Civi Group.
Comments.UserDisplayName: petednz - fuzion
Tags: <drupal><smartgroups>
Title: CiviCRM Smart Group Based on Contact's Drupal Role
ThreadText: # CiviCRM Smart Group Based on Contact's Drupal Role
  
  (Asked by: username_0 on 2017-12-08)
  
  I need all users of a particular Drupal role to be added to a CiviCRM Smart Group. (All Drupal users are currently also CiviCRM contacts.)
  
  The site uses CiviCRM 4.4.21 and Drupal 7.56
  
  **Tags:** drupal, smartgroups
  
  > **Comments:**
  > **username_1**: You could look in to Drupal Rules (maybe with Civicrm Entity) to see if you can add to Civi Group.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-12-08. Score: 1
  
  CiviCRM Group-Role Sync doesn't work with smart groups - but you can make a static group to sync to and make it a child group of the smart group.
  
  > **Comments:**
  > **username_1**: i thought Group-Role sync worked Civi > Drupal. Question seems to be asking for the reverse.  
  > **username_2**: @username_1 Group-Role sync is bidirectional: https://github.com/civicrm/civicrm-drupal/blob/7.x-master/modules/civicrm_group_roles/civicrm_group_roles.module#L58  
  
  ---
  
  