• Archive for November, 2011

    MySite Url via UserProfile

    by  • November 29, 2011 • SharePoint • 0 Comments

    UserProfile has the two property members for retrieving the Url for the User. Those propertis returns the MySite Url and Personal Site url for the User. UserProfile.PersonalUrl Here, i am adding some code snippets, which gets these Url values from MySite. Using(SPSite _site = new SPSite(“http://localhost”)) { SPServiceContext context = SPServiceContext.GetContext(_site); UserProfileManager profileManager = new [...]

    Read more →

    SiteCollection Storage Information

    by  • November 28, 2011 • SharePoint, SharePoint-2010 • 0 Comments

    SharePoint has the Usage Analysis Time job, which updates the following information for the sites, Storage, Discussion Storage, Bandwidth, Hits, Visits The SPSite.Usage property gives us the information of site usage, bandwidth, visits. Here I am adding the snippet for getting the Free Space available against Storage Quota and Space used by Site Collection, using [...]

    Read more →

    Clear SharePoint Lists

    by  • November 27, 2011 • SharePoint-2010 • 0 Comments

    My colleague asked me about, is there any tool available for removing the entire list items from multiple list with single Click. I have taken that idea and created a tool for removing the entire items. URL: http://clearspitems.codeplex.com/ The project is in alpha stage, i have planned for adding more functionality to this tool. And [...]

    Read more →