MediaWiki:Apihelp-query+allusers-param-attachedwiki/en

With $1prop=centralids, also indicate whether the user is attached with the wiki identified by this ID.