Dynamic Access to the new user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 03:18 AM
The user criteria has the option to put in the users who should be given access to. The manager 'david' has different users working under him. All of these users with david have the access to the kb article and catalog. Now everytime a new user is added under david, that user needs to be added in the user criteria manually. This manual work needs to be eliminated.
Ask - whenever a new user is added and if they would be working under david, they should be automatically added to the user criteria using script. I am not sure where to write the script, is it under the user criteria script or business rule or some where else. Can anyone help me with the script and steps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 03:21 AM
Is david owing any group ? how do you know that the x person is working under david ? is it by group you mean
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 03:39 AM - edited 05-23-2024 03:42 AM
Hi @Sohail Khilji ,
12 people works under David. I got to know this on sys_user table.
So everytime a new user is added on the user table and has the manager as david, that user needs to be added again in the user criteria. So I need a script which will automate the process to add the user directly to the user criteria, if they come under manager david.