USERGROUP() SQL Function
The USERGROUP() function returns the user group of the user currently logged in.
The USERGROUP() function requires no parameters:
SELECT USERGROUP()