Thread:Project:Support desk/user specific settings in LocalSettings.php

Is there a way to access the user name and/or group of the current user? I'd like to do something like this: if (!is_in_group($username, "sysop")) { wgSpamRegex = "!https?://!"; } So, all I'd need is a way to access the user object form LocalSettings.php

cheers, Philipp