Tagged: "users"

Get the logged in user and see if they have a role

This code will retrieve the user id of the logged in user. It will then check to see if the user has the Cms Administrator role. I used this logic with...

Deleting a User from the Database

This SQL will delete/repoint references to a user.  This SQL needs to be run in the DB and once complete, you will need to flush the cache for ...