.. _generate_a_user's_primary_line: Generate a User's Primary Line ------------------------------ For top-down management, the system creates the user's primary line, associates the line as the primary extension, sets the self-service ID, and sets the user's profile. These activities occur when users are pushed to Cisco Unified Communications Manager. For bottom-up management, the user's primary line is created (if necessary) when the user is moved to a site, or updated once at a site. You create the line when you perform these tasks. * Apply the line mask to a user attribute (typically the user's phone number). * Use the Universal Line Template (ULT) to determine the route partition name and other line attributes. The ULT is specified in the Self-Provisioning User Profile, which is specified in the Site's Default User Profile. For this approach, the administrator configures these items at the site level. **Perform these steps**: 1. Configure Universal Device Templates. See :ref:`add_a_self-provisioning_universal_device_template`. 2. Configure Universal Line Templates. See :ref:`add_a_self-provisioning_universal_line_template`. 3. Configure Self-Provisioning User Profiles. See :ref:`add_a_self-provisioning_user_profile`. 4. Configure a Site Default User Profile. See :ref:`set_a_default_user_profile_for_a_site`. 5. Configure the Line Mask. See :ref:`add_self-provisioning_line_mask`.