Skip to Content

Fiori for IOS user profile

Hi experts,

Please guide on how to get SAP user name and profile picture in fiori for IOS SDK. The app knows only about SAP ID for now.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 06, 2017 at 01:25 PM

    Hi Pavlo,

    I assume you want the SAP user / profile image from an ECC system? I think you should approach it the same way as were you to display it in a Fiori / SAPUI5 application: expose a BAPI which holds this info as an OData service and consume that in your app.

    I'm not sure if you could setup your cloud platform with an ABAP IdM user store, and (probably) retrieve the user profile including profile image from there as well, but maybe someone else could shed a light on that

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 21, 2017 at 11:35 PM

    Hi Pavlo,

    assuming you want to read the cloud platform user profile, you can find the answer in this great blog post: https://blogs.sap.com/2017/03/23/using-the-sap-cloud-platform-userapi-in-mobile-services-development-operations/

    You can read full name and email address of the authenticated user, I'm not sure about the picture though. You may need to do some additional configuration if you use IdP - as the documentation suggests.

    Cheers!

    Add comment
    10|10000 characters needed characters exceeded