Easy Way To Get Highest User ID?


Well-known member
What's the easiest way to get the highest registered user ID in XF for use in PHP code?


XenForo developer
Staff member
No, as IDs really aren't of interest to us except for looking up particular ones. If you want the most recently registered user (meeting our necessary criteria), that's a different story...