Skip to Content
Jul 14, 2020 at 04:50 PM

Getting user information with SAP Mobile Service Account



Currently, I was using SAPcpmsUserRoles with SAPURLSession from context to fetch user details.

Now, I have changed my security in mobile services from SAML to Certificate and I want to use URLSession and JSONSerialization to fetch user data but I am getting so confused on how to make my URLRequest as now authentication is now not from onboarding steps in SAP Cloud Platform but from JamfKeyChainUtilities framework.

Can anyone help me with this? Or, is there any other way to fetch details of logged in user like name and email?