Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

On SO when I want to filter search results to only include my activity, I can enter user:1442874 in the search field along with the other search criteria. I would use "1442874" because that's my internal userid. My problem is that that's an id that i never really use or think about as I always refer to myself by my display name, "Chris Gerken".

So that makes manually entering a search involving only my activity a bit difficult. Is there some way that I can search for my activity without having to remember or lookup my internal userid? If not, should that be something the royal we can add to SO? Perhaps some special keyword that means "user: the user that's currently logged in"

share|improve this question
up vote 8 down vote accepted

You could simply use user:me within your search, which as the same effect. All of this is outlined within the Search Options page.

For future reference, I know of 2 ways to reach the Search Options page. Once you perform a search, it is linked to on the results page with the title "See our search tips!".

enter image description here

Furthermore, the particular option listed above is also mentioned within the FAQ under the header "How do I search?", which at the end also contains a link to the Search Options page.

share|improve this answer
Very cool. Now can you tell me how I would have navigated to that page? I was looking for that page but couldn't find it. Thx much. – Chris Gerken Sep 21 '12 at 15:07
hmm.. now it's telling me I have to count to 10 before accepting this answer. I'll get back to it in a bit. – Chris Gerken Sep 21 '12 at 15:08

As Bart has pointed out, you can use the user:me to search for your post.

Alternatively, if you're lazy like me and want to save a few keystrokes, simply click on your username in the top bar. This will bring you to your profile page, and lo and behold, the search box is pre-populated withuser:<your uid>. Example:

click to go to profile

When profile loads, search field is pre-populated with user id:

ready to search own posts

You're now ready to start searching for your posts. (Pro Tip: Tab once to shift focus to search box)

Bonus tip: When viewing another user's profile, the search box will contain their user id. That's a quick way to search posts of other users.

share|improve this answer
Thanks, @ShawnChin – Chris Gerken Sep 21 '12 at 15:39
Freehand hands? I can't compete with that! – Bart Sep 21 '12 at 15:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .