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

SQL – Log Parser Studio – IIS Logs

Posted on December 4, 2015

/* Compare file sizes of the last 10 days of IIS logs */ /* Log Type: FSLog */ SELECT Path, Size, LastWriteTime FROM ‘[LOGFILEPATH]’ ORDER BY LastWriteTime ASC /* User-Agent Report */ /* Log Type: IISW3CLOG */ SELECT DISTINCT cs(User-Agent), count(*) AS hits FROM ‘[LOGFILEPATH]’ GROUP BY cs(User-Agent) ORDER BY…

Read More

Mac OSX Terminal – Xcode Reset

Posted on December 5, 2016December 13, 2016

Make sure Xcode is closed. defaults delete com.apple.dt.Xcode rm -rfv ~/Library/Application\ Support/Developer/Shared/Xcode rm -rfv ~/Library/Saved\ Application\ State/com.apple.dt.Xcode.savedState rm -rfv ~/Library/Preferences/com.apple.dt.Xcode.* rm -rfv ~/Library/Preferences/com.apple.dt.xcodebuild.plist rm -rfv ~/Library/MobileDevice/Provisioning\ Profiles/* Originally Posted on December 5, 2016Last Updated on December 13, 2016 All information on this site is shared with the intention to help….

Read More

LDAP Dates Converted

Posted on July 25, 2013October 26, 2015

Dates that look like 127524839567199000 (pwdLastSet, accountExpires, lastLogonTimestamp, etc.) IF( B16>0 ,B16/864000000000 – 109205 ,"" ) Example: 130186556607343750 converts to 40921.80861 40921.80861 in Excel with cell formatting of Date/Time will show as January 13th, 2012 7:24 PM Dates that look like 20050210223453.0Z (whenChanged) DATEVALUE( CONCATENATE( (LEFT(TRIM(B9),4)) ,"-" ,(RIGHT(LEFT(TRIM(B9),6),2)) ,"-" ,RIGHT(LEFT(TRIM(B9),8),2)…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

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
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes