[UDFS] Correctly check SeSinglePrivilegeCheck() return value