Skip to Content

Can Personas check user roles in JavaScript?

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 23 at 05:03 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded