[[user-content]]

=== Assigning Authors to Content

[role="summary"]
How to assign authorship of content items to a user account.

(((Author,assigning)))
(((Content,assigning author)))

==== Goal

Assign Vendor content items Happy Farm and Sweet Honey to the corresponding
Vendor user accounts, so they can edit their own Vendor profiles on the site.

==== Prerequisite knowledge

* <<user-concept>>

==== Site prerequisites

* The Vendor content type must exist, and your site must have at least two
Vendor content items. See <<structure-content-type>>, <<structure-fields>>, and
<<content-create>>.

* User accounts for at least two vendors must exist. See <<user-new-user>>.

==== Steps

. In the _Manage_ administrative menu, navigate to _Content_ (_admin/content_).

. Find Vendor content item Happy Farm in the list. If it is not immediately
visible, you can filter the list by _Published status_, _Content type_ (Vendor),
_Title_, or _Language_.  Click _Edit_ for the Vendor content item you would like
to assign an author to.

. Under _Authoring information_, start typing the Vendor's user
name Happy Farm in the _Authored by_ field. The field lists matching user
names. Select the Vendor's user name from the list.
+
--
// Authoring information section of content edit page.
image:images/user-content.png["Assigning an author to the Vendor content item"]
--

. Click _Save_.

. You will get a notification that the Vendor content item has been updated.
+
--
// Confirmation message after content update.
image:images/user-content_updated.png["Vendor content item has been updated"]
--

. Follow these steps again to assign Vendor content item Sweet Honey to the
Vendor user account Sweet Honey.

// ==== Expand your understanding

// ==== Related concepts

==== Videos

// Video from Drupalize.Me.
video::https://www.youtube-nocookie.com/embed/yx9u2SCgono[title="Assigning Authors to Content"]

//==== Additional resources


*Attributions*

Written by https://www.drupal.org/u/dianalakatos[Diána Lakatos] at
https://pronovix.com/[Pronovix].
