Is there a way to determine the site defintion id used to create eachtop level site or subsite? If so, how can I find that?
SPWeb.WebTemplateId..................
but is there a way to do this without writingcode? I see that in the template gallery, there is a system fieldcalled site definition ID ... It looks as though it applies totemplates rather than sites, though.
SPWeb mySite = SPControl.GetContextWeb(Context);output.Write("<b>"+mySite.WebTemplate.ToString()+"</b> ");mySite.WebTemplateIdrest of code
There is a column in the content database Web table. I think it iscalled WebTemplate but I don't remember for sure.