Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Ektron – User Access List

Posted on August 20, 2014October 26, 2015 By David Kittell

Similar to Ektron SQL – List All Users

If you simply need a list of all of your CMS users whether they are admin or otherwise this script will help

SELECT [user_name] AS 'Username',
	([first_name] + ' ' + [last_name]) AS 'Name'
FROM [user_to_group_tbl] utgt
LEFT OUTER JOIN [usergroups] ug ON ug.usergroup_id = utgt.[usergroup_id]
LEFT OUTER JOIN [users] u ON u.user_id = utgt.user_id
WHERE usergroup_name IN ('Everyone')
ORDER BY username

If you want to show a break down of the groups that each user is in this script will help

SELECT --ug.[usergroup_id],
	[usergroup_name] AS 'User Group',
	--utgt.[user_id],
	[user_name] AS 'Username',
	([first_name] + ' ' + [last_name]) AS 'Name'
FROM [user_to_group_tbl] utgt
LEFT OUTER JOIN [usergroups] ug ON ug.usergroup_id = utgt.[usergroup_id]
LEFT OUTER JOIN [users] u ON u.user_id = utgt.user_id
WHERE usergroup_name IN (
		'Administrators',
		'Approvers',
		'Everyone'
		)
ORDER BY username,
	usergroup_name
Originally Posted on August 20, 2014
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Ektron Ektron User Management MSSQL - Ektron MSSQL - Ektron 8.0.2 MSSQL - Ektron 8.7

Post navigation

Previous post
Next post

Related Posts

Ubuntu – Remove Preloaded Applications

Posted on January 4, 2018January 10, 2020

Installing Ubuntu for a server OS? The code below will remove some of the preloaded applications that are needed on a server. Arguably you could remove Gnome in general and all Gtk but that depends on how you want to run your server. for i in aisleriot \ blinken \…

Read More

Get Division Dates

Posted on June 24, 2013October 26, 2015

SELECT DIVISION_NBR ,YMDEFF ,YMDEND ,YMDTRANS FROM division_span WHERE rownum < 10 AND division_nbr = ‘<div_number_to_search>’ Originally Posted on June 24, 2013Last Updated on October 26, 2015 All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development)…

Read More

Excel – Find Comma Replace With LineBreak

Posted on August 11, 2015October 26, 2015

Selected the range of cells you need to replace. Go to Home > Find & Select > Replace or Ctrl + H Find what: , Replace with: CTRL + SHIFT + J Click Replace All Somehow CTRL + SHIFT + J is registered as a linebreak. Reference: http://stackoverflow.com/questions/14856501/substitute-a-comma-with-a-break-link-in-a-cell Originally Posted…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
  • Mac OS X Terminal - Parallels - Reset Windows User Password
  • Bleaching Wool using Hydrogen Peroxide

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
  • Mac OS X Terminal - Parallels - Reset Windows User Password
  • Bleaching Wool using Hydrogen Peroxide
  • PowerShell - IPv4 Range
©2025 David Kittell | WordPress Theme by SuperbThemes