CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Synchronize Contacts-to-Users
Pages: [1]

Author Topic: Synchronize Contacts-to-Users  (Read 1980 times)

mdegale

  • Guest
Synchronize Contacts-to-Users
May 18, 2007, 10:07:05 am
Hi

Is there a way to synchronize contacts to become Drupal users (rather than the other way around)? I need to give people the ability to edit their organisation's details (There will only be one user per organisation so the Drupal user will be linked to an Organisation contact, allowing me - I hope - to create a profile to limit the fields to be edited).
However I have several thousand organisations (imported from another database and now sitting happily in Civi) for whom I will now need to create linked drupal user accounts.
Even being able to do this individually from each contact's record would be useful (we are having to phone most of the organisations as it is).
I'm fairly sure I can do this in a batch by working with the drupal users table and the civicrm_uf_match table but just wondered if anyone else had done this, and how?

Thanks

Matthew de Gale
matthew@sangonet.org.za

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Synchronize Contacts-to-Users
May 18, 2007, 11:21:46 pm

check the user import module in drupal.

http://drupal.org/project/user_import

I suspect it does what u want :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mdegale

  • Guest
Re: Synchronize Contacts-to-Users
May 19, 2007, 03:42:39 am
Thank you very much. And then I would just update the civicrm_uf_match table for civi integration or would you recommend I even run the  Users-to_contacts synchronization since the email addresses would be identical?

Thanks again,

Matthew

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Synchronize Contacts-to-Users
May 19, 2007, 12:25:51 pm

yes, u should be able to run the users -> contact sync script and civicrm should do the right thing and match the user to the right contact

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Synchronize Contacts-to-Users

This forum was archived on 2017-11-26.