Patch Reviews - DB (MOSC)

MOSC Banner

Unable to pass logged in user role as a parameter in the vbcs url in Oracle sales cloud

edited Mar 8, 2024 9:57AM in Patch Reviews - DB (MOSC)

We have a requirement where we need to check if the logged in user is an admin or not. Hence we tried to pass the logged in userrole parameter in the url of the tile in the sales tab in home page. This is not working for us, However we are able to pass the logged in user name in the url by adding the below at the end of the url:

username=#{securityContext.userName}

The above parameter is working as expected. But the userrole parameter is not working when we tried as below:

1) userrole=#{securityContext.userRole}

2) userid=#{securityContext.userID}

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center