Skip to Content
0

Can Personas check user roles in JavaScript?

Feb 22 at 02:28 PM

24

avatar image
Former Member

Hi,

We are running Personas 3.0 SP5, and I was wondering if there is a way to check a user's Personas roles using JavaScript? I have a couple flavors that need to be slightly different, based on the user's roles.

I know I can create multiple flavors and assign them by role in the admin console. But these are SMEN flavors and I see them continuing to evolve. I was thinking it may be easier to have one flavor that is modified by JavaScript, based on the user's roles.

I'm also assuming this may be possible by writing a RFC; I was just checking on a JavaScript option first.

Thanks for your help!

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

1 Answer

Tamas Hoznek
Feb 23 at 05:03 PM
0

I'd do it using BAPI_USER_GET_DETAIL - should be easy.

I'm not aware of a Personas JS command reading the user's roles.

Share
10 |10000 characters needed characters left characters exceeded