doc/user/profile/_index.md
{{< details >}}
{{< /details >}}
Each GitLab account has a user profile, which contains information about you and your GitLab activity.
Your profile also includes settings, which you use to customize your GitLab experience.
{{< history >}}
{{< /history >}}
To access your profile:
You can also access a users' profile page by using the ID instead of the username at https://gitlab.example.com/-/u/<id>.
For example, if your username is gitlab-user has an ID 12345, you can access the profile page either at
https://gitlab.example.com/gitlab-user or https://gitlab.example.com/-/u/12345.
You might need the user ID if you want to interact with it using the GitLab API.
To find the user ID:
To access your user settings:
GitLab Support may ask for a personal identification number (PIN) to validate your identity. The PIN expires seven days after creation.
To generate a new Support PIN:
If you've created a Support PIN previously, the PIN is accessible in your profile and expires seven days after creation.
To access your Support PIN:
Your username has a unique namespace, which is updated when you change your username. Before you change your username, read about how redirects behave. If you do not want to update the namespace, you can create a new user or group and transfer projects to it instead.
Prerequisites:
_, -, and .._, -, or ... or .<reserved file extension>, for example jon.png, jon.git or jon.atom. However,
jonpng is valid.To change your username:
To add a new email address to your account:
The new email address is added as a secondary email address. You can use secondary email addresses to reset passwords but not to authenticate. You can update your primary email address.
[!note] Making your email non-public does not prevent it from being used for commit matching and group and project imports.
{{< history >}}
{{< /history >}}
You can delete a secondary email address from your account. You cannot delete your primary email address.
If the deleted email address is used for any user emails, those user emails are sent to the primary email address instead.
Unverified secondary email addresses are automatically deleted after three days.
[!note] Because of issue 438600, group notifications are still sent to the deleted email address.
To delete an email address from your account:
You can also use the API to delete a secondary email address.
You can make your user profile visible to only you and GitLab administrators.
[!note] A GitLab administrator can disable this setting, forcing all profiles to be made public.
To make your profile private:
The following is hidden from your user profile page (https://gitlab.example.com/username):
[!note] Making your user profile page private does not hide all your public resources from the REST or GraphQL APIs. For example, the email address associated with your commit signature is accessible unless you use an automatically-generated private commit email.
The public page of a user, located at /username, is always visible whether you are signed-in or
not.
When visiting the public page of a user, you can only see the projects which you have privileges to.
If the public level is restricted, user profiles are only visible to authenticated users.
You can add more information to your profile page with a README file. When you populate the README file with information, it's included on your profile page.
To create a new project and add its README to your profile:
GitLab displays the contents of your README below your contribution graph.
To add the README from an existing project to your profile, update the path of the project to match your username.
You can add links to certain other external accounts you might have, like Discord and X (formerly Twitter). They can help other users connect with you on other platforms.
To add links to other accounts:
In the upper-right corner, select your avatar.
Select Edit profile.
In the Main settings section, add your:
did:plc identifier. To find your identifier, resolve your user handle.Your user ID or username must be 500 characters or less.
Select Update profile settings.
{{< history >}}
mastodon_social_ui. Disabled by default.mastodon_social_ui removed.verify_mastodon_user. Disabled by default.verify_mastodon_user removed.{{< /history >}}
To add a Mastodon handle:
@alex.garcia@exampleServer.Verify that a green checkmark is displayed next to your GitLab site's extra field in Mastodon. If a green checkmark is not displayed, you may need to perform additional troubleshooting.
In the user contribution calendar graph and recent activity list, you can see your contribution actions to private projects.
To show private contributions:
You can add your gender pronouns to your GitLab account to be displayed next to your name in your profile.
To specify your pronouns:
You can add your name pronunciation to your GitLab account. This is displayed in your profile, below your name.
To add your name pronunciation:
Set your status to let others know your availability. Others can see your status when they hover over your avatar, name, or username. Your status is publicly visible even if you've made your user profile page private.
Your status consists of the following elements. You can use each separately to indicate your status.
:palm_tree: or :bulb:. Maximum of 100 characters.Busy badge to your status.To set your current status:
Your status is updated. You can also set your status from the user settings page or with the Users API.
You can set your local time zone to:
To set your time zone:
A commit email is an email address displayed in every Git-related action carried out through the GitLab interface.
Any of your own verified email addresses can be used as the commit email. Your primary email is used by default.
To change your commit email:
Your primary email is the default email address for your login, commit email, and notification email. If your primary email changes, your original primary email is added as a secondary email. This feature allows commits made with your original primary email to remain associated with your account.
To change your primary email:
You can select one of your configured email addresses to be displayed on your public profile:
GitLab provides an automatically-generated private commit email address, so you can keep your email information private.
To use a private commit email:
Every Git-related action uses the private commit email.
To stay fully anonymous, you can also copy the private commit email and configure it on your local machine by using the following command:
git config --global user.email <your email address>
You can follow or unfollow users from either:
In GitLab 15.5 and later, the maximum number of users you can follow is 300.
In GitLab 16.10 and later, blocked users don't appear in the followers list on user profiles.
{{< history >}}
disable_follow_users.{{< /history >}}
You can disable following and being followed by other users.
[!note] When this feature is being disabled, all current followed/following connections are deleted.
GitLab tracks user contribution activity. To view a user's activity:
A list of Most Recent Activity contributions is displayed.
To view your activity:
In the top bar, select Search or go to.
Select Your work.
Select Activity.
Optional. To filter your activity by contribution type, in the Your Activity tab, select a tab:
Instead of using a regular username and password to sign in to GitLab, you can use a sign-in service instead.
To connect a sign-in service to use for signing in to GitLab:
To disconnect a sign-in service used for signing in to GitLab:
By default, you are signed out of GitLab after seven days (10080 minutes) of inactivity or until you close your browser window, whichever comes first.
GitLab administrators can change this default.
{{< history >}}
{{< /history >}}
To remain signed in indefinitely, select the Remember me checkbox on the GitLab sign-in page.
You remain signed in because, although the server sets a session time of one week, your browser stores a secure token that enables automatic reauthentication.
GitLab administrators can turn off the Remember me setting for environments that require sessions to expire periodically for security or compliance purposes.
When you sign in, three cookies are set:
_gitlab_session.
This cookie has no set expiration date. However, it expires based on its session_expire_delay.gitlab_user.
This cookie is used by the marketing site to determine if a user has an active GitLab session. No user information is passed to the cookie and it expires two weeks from login.remember_user_token, which is set only if you selected Remember me on the sign-in page.When you close your browser, the _gitlab_session and gitlab_user cookies are usually cleared client-side.
When it expires or isn't available, GitLab:
remember_user_token cookie to get you a new _gitlab_session cookie and keep you signed in, even if you close your browser.gitlab_user to true.When both the remember_user_token and _gitlab_session cookies are gone or expired, you must sign in again.
[!note] When any session is signed out, or when a session is revoked from the active sessions list, all Remember me tokens are revoked. While other sessions remain active, the Remember me feature doesn't restore a session if the browser is closed or the existing session expires.