Skip to Content
1

Fiori for IOS user profile

Sep 06, 2017 at 10:47 AM

93

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Robin van het Hof
Sep 06, 2017 at 01:25 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Robin, thanks for response.

We have sth different than getting image from ECC. We are using SAP IdP, so We got logged with SAP users (C,S,I...). As far as I understand there should be a way to get user photo from SAP IdP ( the one we see on sap.com on the right top ). Also We do need user full name.

Please guide on how to get user profile info from SAP IdP.

Thanks in advance )

0

Hi Pavlo,

I have no deep experience with SAP IdM REST API's, but a quick search gave me this: https://help.sap.com/viewer/4773a9ae1296411a9d5c24873a8d418c/8.0/en-US/d82bb86eed794ff9873e90772193c375.html

Most notably Request Example 3 / Request Example 4 from that page

0
avatar image
Former Member
Sep 21, 2017 at 11:35 PM
0

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!

Share
10 |10000 characters needed characters left characters exceeded