Is the mapping failing or the InGroup() not firing?

  1. Flush the cache (kixtart /f)
  2. Add a debug message to check the the new InGroup is working.
  3. Check the error return from the "USE" in your MapDrive UDF.