View RSS Feed

jamesb

  1. Customizing SharePoint Usage Stats - Part Three

    by , 23rd February 2011 at 09:43 AM
    Revisiting this, we may now be going down a completely different path (which I feel little, if any, regret about). We're looking at a third party solution which would do exactly what I want it to do. The only problem is the price, and the fact that only the Enterprise license provides the required API. On the other hand I think I can justify the price tag as to build anything more than simple, static reports ourselves, let alone coming close to what this one provides, would take six months at a ...
  2. Customising SharePoint Usage Stats - Part Two Code

    by , 18th February 2011 at 09:56 AM
    Code:
    SPFarm farm = this.Farm;
    int intTime;
    foreach (SPService service in farm.Services)
    {
    
    if (service isSPWebService) {
    SPWebService webService = (SPWebService)service; foreach (SPWebApplication webApplication in webService.WebApplications) {
    foreach (SPSite site in webApplication.Sites) {
    OrganizationProfileManager organizationManager = newOrganizationProfileManager(SPServiceContext.GetContext(site));
    OrganizationProfile
    ...