Closed (outdated)
Project:
User Import
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2013 at 21:14 UTC
Updated:
28 May 2019 at 08:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
TimG1 commentedAdded token link to other issue.
Comment #1
WebbehSee https://drupal.org/comment/8244725#comment-8244725 for a solution for this that uses Feeds and CAS.
Comment #2
g011um commentedUsing locations.inc as a template, I put this together. Should be placed in the supported folder as cas.inc.
It adds a "CAS username" value to the mapping dropdown, and uses the cas_user_update function from the CAS module to update the CAS username field.
I can't promise it's the best code I've written -- my last Drupal development was with Drupal 5.x -- but it seems to work in our Druapl 7 environment.
Comment #3
gisleSupport for fields from contributed projects should be done by implementing
hook_field_user_import_supported_alter()in the project that implements the field, not by adding bloat to this project.It has been five years. Closing as outdated.