what is my user id and how to check it?

i'm trying to run posts.OwnerUserId = ##UserId## but I don't know how to get it.

  • $\begingroup$ Where do you run the command? $\endgroup$ – Tim Nov 18 '12 at 19:01
  • $\begingroup$ @Tim I guess he wants to use SE Data Explorer. $\endgroup$ – Martin Sleziak Nov 18 '12 at 20:23
  • $\begingroup$ thanks, @MartinSleziak! $\endgroup$ – Tim Nov 18 '12 at 21:10

When you click on your username, you will get to your profile page.

Your user id is the number contained in that link: https://math.meta.stackexchange.com/users/39743/user133466

In your case 39743.

Note that your user id for your accounts on different SE sites can be different.

P.S. When using data.SE, don't forget that the data may not be up to date - they are from the last data dump.


You must log in to answer this question.

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