• Can you share the code that does this? Calling sp_who from within a function?