title | intro | redirect_from | versions | topics | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Searching users |
You can search for users on {% data variables.product.product_name %} and narrow the results using these user search qualifiers in any combination. |
|
|
|
You can search for users globally across all of {% data variables.product.product_name %}. For more information, see "AUTOTITLE."
{% data reusables.search.syntax_tips %}
By default, searching users will return both personal and organizations. However, you can use the type
qualifier to restrict search results to personal accounts or organizations only.
Qualifier | Example |
---|---|
type:user |
mike in:name created:<2011-01-01 type:user matches personal accounts named "mike" that were created before 2011. |
type:org |
data in:email type:org matches organizations with the word "data" in their email. |
You can filter your search to the personal user or organization account name with user
or org
qualifiers.
With the in
qualifier you can restrict your search to the username (login
), full name, public email, or any combination of these. When you omit this qualifier, only the username and email address are searched. For privacy reasons, you cannot search by email domain name.
Qualifier | Example |
---|---|
user:name |
user:octocat matches the user with the username "octocat". |
org:name |
org:electron type:user matches the Electron organization's account name. |
in:login |
kenya in:login matches users with the word "kenya" in their username. |
in:name |
bolton in:name matches users whose real name contains the word "bolton." |
fullname:firstname lastname |
fullname:nat friedman matches a user with the full name "Nat Friedman." Note: This search qualifier is sensitive to spacing. |
in:email |
data in:email matches users with the word "data" in their email. |
You can filter users based on the number of repositories they own, using the repos
qualifier and greater than, less than, and range qualifiers.
Qualifier | Example |
---|---|
repos:n |
repos:>9000 matches users whose repository count is over 9,000. |
name repos:n |
bert repos:10..30 matches users with the word "bert" in their username or real name who own 10 to 30 repositories. |
You can search for users by the location indicated in their profile.
Qualifier | Example |
---|---|
location:LOCATION |
repos:1 location:iceland matches users with exactly one repository that live in Iceland. |
Using the language
qualifier you can search for users based on the languages of repositories they own.
Qualifier | Example |
---|---|
language:LANGUAGE location:LOCATION |
language:javascript location:russia matches users in Russia with a majority of their repositories written in JavaScript. |
name language:LANGUAGE in:fullname |
jenny language:javascript in:fullname matches users with JavaScript repositories whose full name contains the word "jenny." |
You can filter users based on when they joined {% data variables.product.product_name %} with the created
qualifier. This takes a date as its parameter. {% data reusables.time_date.date_format %} {% data reusables.time_date.time_format %}
{% data reusables.search.date_gt_lt %}
Qualifier | Example |
---|---|
created:YYYY-MM-DD |
created:<2011-01-01 matches users that joined before 2011. |
created:>=YYYY-MM-DD |
created:>=2013-05-11 matches users that joined at or after May 11th, 2013. |
created:YYYY-MM-DD location:LOCATION |
created:2013-03-06 location:london matches users that joined on March 6th, 2013, who list their location as London. |
created:YYYY-MM-DD..YYYY-MM-DD name in:login |
created:2010-01-01..2011-01-01 john in:login matches users that joined between 2010 and 2011 with the word "john" in their username. |
You can filter users based on the number of followers that they have, using the followers
qualifier with greater than, less than, and range qualifiers.
Qualifier | Example |
---|---|
followers:n |
followers:>=1000 matches users with 1,000 or more followers. |
name followers:n |
sparkle followers:1..10 matches users with between 1 and 10 followers, with the word "sparkle" in their name. |
{% ifversion fpt or ghec %}
You can search for users and organizations who can be sponsored on {% data variables.product.prodname_sponsors %} with the is:sponsorable
qualifier. For more information, see "AUTOTITLE."
Qualifier | Example |
---|---|
is:sponsorable |
is:sponsorable matches users and organizations who have a {% data variables.product.prodname_sponsors %} profile. |
{% endif %}