cancel
Showing results for 
Search instead for 
Did you mean: 

To set a default role according to the user.

samantha_nez
Participant
0 Kudos
214

Hi,

I would like to set different default roles according to users. For example, we have the following prerequisites:

1) 3 roles: roleA | roleB | roleC (in this order).

2) 3 differents users: user1, user2, user3.

So, if I log-in with the user1, the default role should be the roleA; if I log-in with the user2, the default role should be the roleB; and so on.

But I don't want to change the order of the roles using "sort priority" property.

How can I do this?

Thanks,

Samantha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Samantha,

Does each of the users need to have each of the roles? If not you could just not assign the other roles except the one you want to display as default role (a assume you mean the role that is displayed first after logon).

If each of your users need every role, I am afraid your requirement is not realizable unless you use the sort priority property. Why don't you want to use it in the first place?

On possible yet circuitous way to meet your requirements would be the following:

Create another role for each of your user(-group)s. Say in your case Role 1, Role 2 and Role 3 which are not defined as entry points.

Assign roleA, roleB and roleC to Role 1 where roleA has the lowest sort priority; and assign user1 to role 1.

Assign roleA, roleB, roleC to Role 2 where roleB has the lowest sort priority; and assign user 2 to Role 2

....

and so on.

Of course you need to use sort priority for that and I think thats hard to maintain. (probably not even what you are looking for)

Maybe you can get a litle more concrete what you are trying to achieve.

best regards

Stefan

samantha_nez
Participant
0 Kudos

Hi Stefan,

Where have I to set entry points?

Thanks,

Samantha.

Former Member
0 Kudos

Hello Samantha,

For role1, role2 & role3 set entry points to NO. For RoleA, RoleB & RoleC assign entry points to YES.

Regards

Deb

Former Member
0 Kudos

Hi Samantha

You have to set the entry Point in role ,When you create a role in Property category select the Navigation and down you set the entry Point as yes

and then assign that role to any of the user you needed

Regards

PETER

samantha_nez
Participant
0 Kudos

Thanks, it has been a great help.

Regards,

Samantha.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Samantha

you can assign you Role A, Role B and Role C to User1 , User2 & User3

First you create a User1 , User2 & User3 in Portal

I think you may known the assign of iview, Page , workset and Role

Now you will create the role

then that role should be assign to the user you like

Regards

PETER

Former Member
0 Kudos

if you need all the roles as default role and want them seperately for seperate users, it is not possible.

I think you have to use he sort property.

no other solutions seems fitting here.

Former Member
0 Kudos

Hi Samantha,

This is quite easy. I think you are quite confused with the term default role.

don't change the order of the roles by using Sort priority.

goto the user admin->

select user 1->assign role 1

save

select user 2->assign role 2

save

select user 3->assign role 3

the thing is that these would be default roles for each user.

Cheers....

save