Oracle WebCenter Content (MOSC)

MOSC Banner

Restrict Profile based on user login

edited Jun 14, 2016 5:13AM in Oracle WebCenter Content (MOSC) 3 commentsAnswered

Hi,

I have requirement to restrict profile based on user login. I have 3 profiles let's name it as Profile A, Profile B and Profile C. I want user with account 'a' only can view profile A and so forth. I refer to this discussion, , and I know, I should check the Restrict Personalization links and enter the code something like this :

<$if userHasAccessToAccount("WCC-DEV",2)$> //1,2,4,8

    <$isLinkActive=1$>

<$endif$>

Refer to this code, I don't know what the number 2 indicate to. I try amend this code in Profile A to below:

<$if userHasAccessToAccount("a",2)$> //1,2,4,8

    <$isLinkActive=1$>

<$endif$>

However, the Profile A hidden from the list. By right, if user have account 'a', only the Profile A should display in the list and Profiel B and C must hidden.

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