Answers.Body: <p>You could create a Drupal rule to achieve this provided you have that functionality turned on. </p>
  
  <p>Could use the 'Civicrm contact has been created' event.</p>
  
  <p>Checkout the Drupal 7 rules module: <a href="https://www.drupal.org/project/rules" rel="nofollow noreferrer">https://www.drupal.org/project/rules</a>
  Civicrm comes with Civicrm rule intergration module which you can enabled (although you may not need to enable this). </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-04T08:53:50.380Z
Answers.Text: How can you do that? Any reference online tutorial.
Answers.UserDisplayName: Dipak Giri
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-04T09:54:26.293Z
Answers.Text: @DipakGiri You can lookup how the Drupal rules module works and then you can look at what you need to enabled to get that event.  I actually have that event provided withour the Civicrm rules module enabled so you may not even need to enable that.  I believe there is also extension for civi https://civicrm.org/extensions/civirules
Answers.UserDisplayName: EagleUK
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-04T19:16:04.060Z
Answers.Text: https://civicrm.org/blog/petednz/creating-drupal-users-made-easy-for-single-or-multiple-contacts-via-civi-imports-and
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-04T08:37:36.887Z
Answers.LastActivityDate: 2018-10-04T09:51:43.493Z
Answers.LastEditDate: 2018-10-04T09:51:43.493Z
Answers.UserDisplayName: EagleUK
Body: <p>I want to add relationship (civicrm) at the time of creation of new user using drupal user. (individual -> Household).</p>
  
Tags: <drupal><webform-civicrm>
Title: How to add relationship at the time of new user creation in drupal?
ThreadText: # How to add relationship at the time of new user creation in drupal?
  
  (Asked by: username_0 on 2018-10-04)
  
  I want to add relationship (civicrm) at the time of creation of new user using drupal user. (individual -> Household).
  
  **Tags:** drupal, webform-civicrm
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-04. Score: 1 | Accepted answer
  
  You could create a Drupal rule to achieve this provided you have that functionality turned on.
  
  Could use the 'Civicrm contact has been created' event.
  
  Checkout the Drupal 7 rules module: <https://www.drupal.org/project/rules>
  Civicrm comes with Civicrm rule intergration module which you can enabled (although you may not need to enable this).
  
  > **Comments:**
  > **username_0**: How can you do that? Any reference online tutorial.  
  > **username_1**: @DipakGiri You can lookup how the Drupal rules module works and then you can look at what you need to enabled to get that event.  I actually have that event provided withour the Civicrm rules module enabled so you may not even need to enable that.  I believe there is also extension for civi https://civicrm.org/extensions/civirules  
  > **username_2**: https://civicrm.org/blog/petednz/creating-drupal-users-made-easy-for-single-or-multiple-contacts-via-civi-imports-and  
  
  ---
  
  