I have a client that would like to import users with their employee id as the primary key, but with a separate username. Is there any way to specify which field to use as the primary key?

Comments

mstrelan’s picture

Not sure if I was totally clear on that, the import needs to be able to update Username and Email address based on Employee ID

StevenWill’s picture

I am also interested in setting the user id.

jim0203’s picture

Subscribe

earthangelconsulting’s picture

The lack of response on this thread makes me think this feature isn't going to happen soon? or is there something in the works?

p2252’s picture

Issue summary: View changes

I am also interested in choosing another id to match on, specifically to update user-records. In my use-case an email address can change, but the employee id stays the same.

robert castelo’s picture

Version: master » 6.x-4.x-dev

Available in 6.x-4.2, will port to Drupal 7 version soon.

rich.3po’s picture

D7 patch being worked on here:
https://www.drupal.org/node/2292427

gisle’s picture

Status: Active » Closed (outdated)
Related issues: +#2292427: Port 'Ability to select primary key' patch to D7

Closing this as outdated as D6 is no longer supported.

There is an open Drupal 7 issue for this: #2292427: Port 'Ability to select primary key' patch to D7.