I present my code to create a dynamic sitemap in the article Dynamic Sitemaps in ASP.NET.
You can either use URL routing to refer to your dynamic sitemap as sitemap.xml, or you could simply submit the real name of your sitemap page to Google and Bing.
But I had a little trouble understanding exactly what you want to do. What do you need the web.config to do exactly? And how would the Google crawler vary this based on user?