Managing Users and Apps

Is there a demo app for actually connecting to and managing users?

Can we use the Sphinx server as an xdata server if we need to write this or do I need to write another server app?

If my XData server is multitenant, what would be the best way to implement this? It's not a case of giving a user a choice as they will only have access to one (unless they are a system admin)?

Just trying to get my head around this.

There is not a demo yet, but we will work on that. Not sure what do you mean by "connecting" users?
In any case, the core interface is IUserManager which provides methods for creating, deleting users, changing password, etc. I'm not sure if that's what you are asking for?

Yes, Sphinx is just a regular XData server (Sparkle module) with specific endpoints added to it.

Sphinx is also multitenant, and the tenancy is chosen automatically via the tenant middleware.
You just add a tenant middleware to your Sphinx server, fill in one or more properties the should define the tenant, and you're good to go.

If you want to provide more details about your setup I can try to guide you out.