What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

How do you search by user if I don't know their user id? Different user, not myself.

And why doing a search like 'user:fgfgfblahblah apples' returns a ton of results when fgfgfblahblah doesn't exist!?

share|improve this question
    
As user names aren't unique this wouldn't work. Can you not filter the users page to get their ID? –  ChrisF Apr 28 '10 at 21:18
    
Sounds like a good place to promote user:me when you're trying to limit on your own posts. –  Arjan Apr 28 '10 at 21:40
    
@Arjan: I did say 'Different user, not myself'. I already know about user:me. –  Tony_Henrich Apr 29 '10 at 6:18
    
I know. I would have posted an answer if I thought it answered your question. And: this site is not just for you, sorry... ;-) –  Arjan Apr 29 '10 at 18:59

3 Answers 3

up vote 1 down vote accepted

How do you search by user if I don't know their user id? Different user, not myself.

At http://stackoverflow.com/users, there is a search box where you can search by username. Once you have clicked through to the user profile*, the number in the URL bar is the user id.

*You can also reach the user profile by clicking on the user's username in any of his/her posts.

And why doing a search like 'user:fgfgfblahblah apples' returns a ton of results when fgfgfblahblah doesn't exist!?

The reason is that searches are done using OR searches, so it returns any results where the word apples appear. It only limits the search to that particular user when a userid is passed, if it's anything else, it's treated as a string and not as a special parameter, so the traditional OR search is done.

share|improve this answer
    
OR or not I should get the resuts filtered correctly just like a SQL query. SQL doesn't make any assumptions. –  Tony_Henrich Apr 29 '10 at 15:57

No idea on the second part, as for the first... I would try to find their ID.

Either find any post by that user or Click users and then type their name in to search.

Once you have a hyperlink, hover over it and copy down the number.

alt text

share|improve this answer

Go to the User Page

Search for their name

Click on their name

In the URL of the page you are directed to, the big long number is their user id.

For instance, yours is:

http://meta.stackoverflow.com/users/134444/tony-henrich

share|improve this answer

You must log in to answer this question.

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