05-23-2024 01:40 PM
Title says it all. Looking for a SQL query that reports a list of individual users that have access to a doctype, the query would need to sift through the groups that have access to said doc type in order to come up with a definitive list. It would be awesome if the query showed what group the user belonged to as well which was granting them access to said doc type.
Thank you for any assistance you can provide!
05-23-2024 02:08 PM
Hi Michael,
This is what i use on a reporting dashboard:
select rtrim(G.USERGROUPNAME) as GroupName, trim(U.USERNAME), trim(U.REALNAME), rtrim(D.ITEMTYPENAME) as DocTypeName, U.LASTLOGON, U.DISABLELOGIN
from HSI.USERGROUPCONFIG X
left outer join HSI.USERGROUP G ON X.USERGROUPNUM = G.USERGROUPNUM
left outer join HSI.DOCTYPE D ON D.ITEMTYPENUM = X.ITEMTYPENUM
left outer join HSI.USERXUSERGROUP UXG ON UXG.USERGROUPNUM = G.USERGROUPNUM
left outer join HSI.USERACCOUNT U ON UXG.USERNUM = U.USERNUM
where trim(D.ITEMTYPENAME) = @{pConfigItemName}
and trim(G.USERGROUPNAME) != 'MANAGER'
My data provider has a select list for the parameter so you can choose which document type you want from a list. https://support.hyland.com/r/OnBase/Reporting-Dashboards/English/Foundation-22.1/Reporting-Dashboard...
05-28-2024 09:36 AM
Hi Brent, I am also looking to query that same information, would you be willing to send the query over to me as well? kimrolandplus3@gmail.com
Thank you!
06-07-2024 07:52 AM
06-10-2024 08:34 AM
Hi Brent, would you send it to me as well? pr4402118@gmail.com Thanks!
06-10-2024 08:43 AM
06-10-2024 09:13 AM
I would be interested too: lynn@vailresorts.com
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.