Hi Tobias,
If you are logged in to SAP NetWeaver then you should have access to MII automatically as long as your application sends the SSO2 cookie and the session parameters.
What are the security constraints that you have for your xApp?
Regards,
Krasi