How do I get an
SPSite object from the
SPWebEventProperties object passed into the
public override void WebProvisioned(SPWebEventProperties properties)
There is no need to create a new
This MSDN article Security Best Practices for Developers in SharePoint 2010 recommends against constructing SPSite objects using a Guid.
It would be safer to use
as advised by Anders