Create a Database View to Display Licensed Roles Against Active Users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Trying to create a database view to display active users within the system who have logged-in within the last 3 months and are assigned licensed roles.
I would think the where clause should use the 'name' field from the license_role table to join with the 'role' field on the sys_user_has_role table. Then, it would just be a matter of setting the filters on the report to show where active = true && logged-in ❤️ months?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @appstorm
Database view with 3 tables
- sys_user_has_role
- license_role
- sys_user
Joins:
sys_user_has_role.role = license_role.name
sys_user_has_role.user = sys_user.sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
43m ago
Thank you! So, the prefixes defined in the database view would be included, also?