- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 12:19 AM
Hello, i'm knowledge manager and need to prevent external users from accessing a Knowledge base.
External users have a company so I'm testing the content of company field in sys_user table but it does not work (works in System Def script background though). An undefined or empty company field should return true.
User criteria diag with internal user answers false and i dont understand why.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 12:59 AM
Hi @PascalG
You need to pass the value of user_id so that the Glide Record can extract the record. In you case you are not passing any value.
e.g: my_user.get('user_id;,current.user_id);
If my response helped, please mark it helpful and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 12:59 AM
Hi @PascalG
You need to pass the value of user_id so that the Glide Record can extract the record. In you case you are not passing any value.
e.g: my_user.get('user_id;,current.user_id);
If my response helped, please mark it helpful and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 01:02 AM
Thanks Rohit, will test in the next minutes and come back to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 01:22 AM
Hello Rohit, i used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 02:45 AM
Hi @PascalG ,
Glad that I was able to help you. Would you please also mark my responses as helpful.
It will be really for helpful for me.
Regards,
Rohit