Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

old my sites

  Asked By: Marissa    Date: Feb 07    Category: Sharepoint    Views: 1014

How do you all handle old my sites for old employees. We have a number of sites for former employees that we would like to delete. But I can't figure out how.



3 Answers Found

Answer #1    Answered By: Kalyan Pujari     Answered On: Feb 07

You can do it programmatically or manually.

if your click on the hyperlink of any username on the portal you are taken to the public view of his mysite.
replace the default.aspx of the url with _layouts/<lcid>/settings.aspx

there you have the option of deleting them.

programmatically you can get to the all the sites  under the virtual server using SPVirtualServer.Sites

iterate through the SiteCollection and check if the Site name is /personal/<nt login id>
if yes do site.Delete()

Answer #2    Answered By: Willard Valenzuela     Answered On: Feb 07

The easiest way to do this is to

Click on Site Settings on the portal
Click on Manage Profile Database
Click on View User Profile
Search for the user
Click on the drop down menu and select Manage Personal Site
Click on Goto Site Administation
Delete this site

Answer #3    Answered By: Allison Stewart     Answered On: Feb 07

Just delete  them using stsadm.exe.

Didn't find what you were looking for? Find more on old my sites Or get search suggestion and latest updates.