Answers.Body: <p>There's an <a href="https://www.drupal.org/node/2271487" rel="nofollow">unreviewed patch</a> to the CiviCRM Entity module that tackles this.</p>
  
  <p>To clean up and remove a tag, you can easily set up CiviRules to just delete a tag as soon as it's created.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-18T05:13:17.793Z
Answers.Text: have you tested it and marked it as 'reviewed by community' to help push it along?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-19T01:34:37.987Z
Answers.Text: Haven't had time to test it yet!
Answers.UserDisplayName: Tenz
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-18T02:47:27.007Z
Answers.LastActivityDate: 2016-07-25T04:19:02.127Z
Answers.LastEditDate: 2016-07-25T04:19:02.127Z
Answers.UserDisplayName: Tenz
Body: <p>I'm using Pete's <a href="https://civicrm.org/blogs/petednz/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms" rel="nofollow">great way of creating Drupal users by adding a tag</a>, but was wondering (as Michael McAndrew did in the comments on that page) how a different username could be auto-created, e.g. email address or even firstnamelastname. (Presumably the Rule would fail if a duplicate username occurred?)</p>
  
  <p>And bonus question: on the same page Coleman mentioned potentially using Rules to remove the tag and clean up, but I can't work out which action this would be under. Any pointers?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-10T20:25:03.500Z
Comments.Text: Have you had any luck figuring this one out? thanks\
Comments.UserDisplayName: Yossi
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-12T00:51:04.457Z
Comments.Text: I used the patch in the answer. It failed on application, so I had to manually apply, but it works.
Comments.UserDisplayName: Tenz
Tags: <civicrm-entity><tags><drupal-rules><user>
Title: Change Drupal username when auto creating using tags
ThreadText: # Change Drupal username when auto creating using tags
  
  (Asked by: username_0 on 2015-11-10)
  
  I'm using Pete's [great way of creating Drupal users by adding a tag](https://civicrm.org/blogs/petednz/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms), but was wondering (as Michael McAndrew did in the comments on that page) how a different username could be auto-created, e.g. email address or even firstnamelastname. (Presumably the Rule would fail if a duplicate username occurred?)
  
  And bonus question: on the same page Coleman mentioned potentially using Rules to remove the tag and clean up, but I can't work out which action this would be under. Any pointers?
  
  **Tags:** civicrm-entity, tags, drupal-rules, user
  
  > **Comments:**
  > **username_1**: Have you had any luck figuring this one out? thanks\  
  > **username_0**: I used the patch in the answer. It failed on application, so I had to manually apply, but it works.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-11-18. Score: 1 | Accepted answer
  
  There's an [unreviewed patch](https://www.drupal.org/node/2271487) to the CiviCRM Entity module that tackles this.
  
  To clean up and remove a tag, you can easily set up CiviRules to just delete a tag as soon as it's created.
  
  > **Comments:**
  > **username_2**: have you tested it and marked it as 'reviewed by community' to help push it along?  
  > **username_0**: Haven't had time to test it yet!  
  
  ---
  
  