This documentation relates to CiviCRM version 3.1. It's not maintained anymore.
Current version of documentation.

User that Created Contact

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.

Documentation Search

CiviCRM 3.1 Documentation

Support and Participation

Developer Resources

CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

I'd like to create a custom field for contacts that contains the user id of the user that created them.

This is already being stored in the civicrm_log table and displayed when you view a contact, at the very bottom. Find Contacts and then on the screen that you get when looking at a contact, select the "Change Log" tab. It does not explicitly say 'created date' or 'created by' but the oldest entry in the table is the creation date and the user that created this contact.

[Source. ]

  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.