In my company members have a unique membership ID. Is it possible, that the Drupal users which are created by CiviCRM, can have this membership ID as the username and not the real name/email address as is used currently?

We would also like to use the members' date of birth as their password and set this automatically.

Thank you.

2 Answers 2


I am not sure if CiviRules allows the creation of a CMS user when a membership is created. But you could write a small extension that implements a hook to override the username (to use the member ID) and password (to use the Date of Birth) or implement a hook (post on membership) to create a CMS user when a membership is purchased (created),


Other option would be to look at what Drupal Rules can do

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.