You can do that by setting the populateCreatorFields option to true in the schema of the content type.
populateCreatorFields