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 (Moderator: Dave Greenberg) »
  • Configure the user id in CIVI CRM
Pages: [1]

Author Topic: Configure the user id in CIVI CRM  (Read 504 times)

rahulghoshal

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.28
  • MySQL version: MYSQl 5.1.73-cll
  • PHP version: 5.3.19
Configure the user id in CIVI CRM
May 28, 2014, 10:44:01 pm
HI All,

I need to configure the user id with a customised logic. Need to configure the civicrm such that user may be able to login either by using id or username provided by him/her during registration.

Where do I write he code to customise the logic, please advise?

regards

Rahul

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Configure the user id in CIVI CRM
May 29, 2014, 05:00:05 am
The user Id that is used for loggin in is part of your CMS? So in Drupal, Joomla or Wordpress?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

rahulghoshal

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.28
  • MySQL version: MYSQl 5.1.73-cll
  • PHP version: 5.3.19
Re: Configure the user id in CIVI CRM
June 01, 2014, 10:13:26 am
HI Erik,

Thanks for the response.

I was referring to CiviCRMID the default id that gets generated for each record created.

Or do you suggest another method to achieve it?

All I need is that any customer getting registered should have that Unique id and should be able to use that unique Id / Username alternatively to login to the system.

The ID generation logic is all (to generate unique ids for all global users) is already zeroed down.

Please help and advise how do i go about to implement it?

regards

Rahul

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Configure the user id in CIVI CRM
June 02, 2014, 05:57:44 am
I do not see why you would want the user to use the CiviCRM ID to login, it does not make sense to me...:-)
If you create the contact using the CiviCRM API you will get the contact_id returned after the creation? (check http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: Configure the user id in CIVI CRM
June 02, 2014, 06:25:16 am
The CiviCRM ID is an auto increment value in the database.
Developer at Edeveloper / CiviCoop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Configure the user id in CIVI CRM

This forum was archived on 2017-11-26.