Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the validity of a particular Role for 100 users, in a single

Former Member
0 Kudos

Hi

How to disable the validity of a particular Role

which is assigned to 100 users. (disabling the role of change the validity of the role )

at present am doing manually, by entering into each user and changing the validity of the role

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can try using SU10. First remove that role from 100 users access and then re-assign the role with the validity (again from SU10). Hope this helps.

9 REPLIES 9

Former Member
0 Kudos

You can try using SU10. First remove that role from 100 users access and then re-assign the role with the validity (again from SU10). Hope this helps.

0 Kudos

Hi Akshay

Thanks for the response.

That is one option, am looking for an option where i should be able to disable a role for all 100 users

for a particular time period, after that time, all users should be able to enjoy that role, automatically.

Regds

0 Kudos

Hi Buddy,

If you want to disable a role for lets say two days from 01/12/2009 to 03/12/2009 then you can assign the same role two times by below dates:

Roles A - From 29/11/2009 TO 01/12/2009

Same Role A - From 03/12/2009 TO 31/12/9999

By doing this you will restrict access of users for 2 days. Try it and do let me know.

0 Kudos

I think this is exactly what Akshay is pointing you to: Assign the role with validity dates.

Make sure PFCG_TIME_DEPENDENCY runs nightly an you should be fine.

0 Kudos

> How to disable the validity of a particular Role for 100 users, in a single ...

... shot?

Assign a reference user to the 100+ users and create events in the factory calendar which assigns and removes the role from the reference user only.

The downside is that it is not scalable for many of the same concepts at the same time, because a dialog user can at one logon time only have one reference user assigned to them.

Cheers,

Julius

Former Member
0 Kudos

Thanks Jurjen,

Yes, PFCG_TIME_DEPENDENCY is must. It should be running on daily basis which will compare the assignment of roles and their associated profiles to users. Do a search on "PFCG_TIME_DEPENDENCY " in the same community, if you want more details on how to schedule a job related to this.

Former Member
0 Kudos

You can use SU10, and give in all the 100 users there, Then go to the roles tab, and enter the role and change the validity of that role. (Do not forget to click on the Change button) and save. The changes will reflect in all the users account.

0 Kudos

Akshay already mentioned SU10...

Former Member
0 Kudos

thanks for the response