Hi Guys,
I am trying to determine which user currently has a database open in my company to allow me to ask them to close it for maintenance.
I am a little (Lot) out of my depth with this level of coding, but have stolen this code from another site on recommendation.
While I have no errors, I...