September 05, 2007 - Posts
I don't remember if I posted this list before, but I maintain a list of user groups in the Atlanta area on DevCow.com and thought I would share it with everyone. Each group that we keep up with is listed with a link to their site. I even maintain this list with a flag that shows if it focuses on Microsoft products or not. All of the groups would be helpful to Microsoft developers so only look at that as a guide.
You can even export the list to excel if you really want to. Keep in mind this list doesn't change very often, but if you have one that needs to be added or if one link doesn't work email Brendon at bschwartz[@]devcow.com. We will update the database with the information.
Check out the list at: http://www.devcow.com/usergroups/
If you didn't know Me (Brendon), Matt and Dan worked on a SharePoint book this past year. Today part of Matt's chapter, chapter 5 ("Programming Windows SharePoint Services") was posted on the Wrox website.
You can check it out here:
http://www.wrox.com/WileyCDA/Section/id-306329.html
This is a great read and in fact check out the quote of one of the reviewers on Matt's chapter.
"This chapter alone would [be] worth the purchase of the whole book"
Amazon review of the book
Awesome job Matt, keep up the good work!
I am trying to determine what type of authentication the current SharePoint 2007 web site has, but no matter which SharePoint site I checked the AuthenticationMode of the SPWeb always seems to return WindowsAuthentication. The site that I am using is set up with Forms Based Authentication (FBA), and I would think that SharePoint object model would know the current authentication mode should be AuthenticationMode.Forms, but it doesn't.
I am not sure if I am just missing something? Maybe you really do have to go to the WebApplication and the IISSettings to get the actual value. Seems like a long way to go to get what you need. Keep in mind that to get the IISSettings you will also need to know which zone the site is. Using the Alternate URLs this can be done with the URL of the site.
Let me know if you have a better way. For now it looks like this might be a clean way to get what you want. You can also use the current SPWeb instead of hardcoding it, but this is easier for Console Apps and to make it more clear.
using (SPSite spSite = new SPSite(@"http://fba.devcow.com"))
{
SPWeb spweb = spSite.RootWeb;
SPWebApplication webApp = spweb.Site.WebApplication;
SPAlternateUrl altURL = webApp.AlternateUrls[spweb.Url];
SPIisSettings iisSettings = webApp.IisSettings[altURL.UrlZone];
Console.WriteLine(iisSettings.AuthenticationMode);
}