View RSS Feed

jamesb

  1. 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
    ...
  2. Customising SharePoint Usage Stats - Part Two

    by , 17th February 2011 at 09:24 AM
    Due to some, ahem, technical difficulties with getting the custom usage provider to actually trigger (registering wasn't a problem, and it did intercept the event, just never actually triggered it's own handler so I essentially spent several days in order to write a solution which comprehensively breaks usage logging) I've been re-evaluating my approach to this.

    New method will still involve logging organisation IDs along with users (any direct memberships get logged with the user, ...

    Updated 18th February 2011 at 09:46 AM by jamesb

    Categories
    Uncategorized