title: Create my site programmatically in Sharepoint 2010
body: <p>Is it possible to create <strong>my site</strong> programmatically in SharePoint 2010?</p>
  
  <ol>
  <li>I have added 5 users to AD (Active Directory).</li>
  <li>These 5 users are also added in an excel file.</li>
  <li>SharePoint 2010 sample site contains a web page where it takes an input as above excel file and on click of a button I want to create 5 my sites of those users specified in excel file with some list, document libraries already created on those my sites.</li>
  </ol>
  
  <p>Is it possible to achieve this functionality in SharePoint 2010? At present I am looking for a code snippet which will use SharePoint 2010 object model and fulfills this requirement. </p>