Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The user information web service should be exposed by a web page which provides an XML string response, according to the following schemaformat: 

 

<?xmlversion="1.0"encoding="utf-8" ?>

<xs:schemaid="CategoryXmlSchema"

elementFormDefault="qualified"

xmlns:mstns="http://tempuri.org/CategoryXmlSchema.xsd"

xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:elementname="tree">

<xs:complexType>

<xs:sequence>

<xs:elementname="item"type="UserCategoryXmlNode"minOccurs="0"maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexTypename="UserCategoryXmlNode">

<xs:sequence>

<xs:elementname="userName"type="xs:string" />

<xs:elementname="categories"minOccurs="0"maxOccurs="1">

<xs:complexType>

<xs:sequence>

<xs:elementname="categoryValue"type="categoryNode"minOccurs="0"maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexTypename="categoryNode">

<xs:sequence>

<xs:elementname="categoryName"type="xs:string"minOccurs="1"maxOccurs="1" />

<xs:elementname="categoryValue"type="xs:string"minOccurs="1"maxOccurs="1" />

</xs:sequence>

</xs:complexType>

</xs:schema>

Field Definitions:

 username: the user account name (should match the accountName field in the organization structure)
categoryName: the designated category name.
categoryValue: the assigned category value.

Sample Data:

...

<tree>

<item>

<userName>MyCompany\james</userName>

<categories>

<categoryValue>

<categoryName>Region</categoryName>

<categoryValue>West</categoryValue>

</categoryValue>

<categoryValue>

<categoryName>Gender</categoryName>

<categoryValue>Male</categoryValue>

</categoryValue>

</categories>

</item>

<item>

<userName>MyCompany\danataylor</userName>

<categories>

<categoryValue>

<categoryName>Region</categoryName>

<categoryValue>North</categoryValue>

</categoryValue>

<categoryValue>

<categoryName>Gender</categoryName>

<categoryValue>Female</categoryValue>

</categoryValue>

</categories>

</item>

</tree>

...

In order to retrieve additional user information , such as department, gender, etc. from Active title or any other category available from Active Directory attributes, perform the following steps:

1. Edit the following keys in the [CardioLog Installation Folder]\VisitorSegments\web.config file, located in the <appSettings> section -

<add key="adConnStr" value="[Active Directory FQDN]" />

<add key="delimiter" value="[delimiter]" />

<add key="attributeNames" value="[a delimiter separated list of attributes associated with the user]" />

[adConnStrvalue should show the fully qualified domain name (ex: "mycompany.com") 
To retrieve your domain name, open Administrative Tools Active Directory Users and Computers

...

[attributeNames] - a list (delimiter separated) of user attributes which should be imported into CardioLog Analytics.
To view the available user attributes: open ADSIEdit and connect to your domain. Right click click and select Properties on a user object to see its list of attributes.

2. Add visitor segmentation by Active Directory attributes to the User Categories Updates service:

...

  1. From the navigation pane in CardioLog go to Administration CardioLog Scheduling Service User Categories Updates.
  2. Set the service Scheduling Type to Daily at 00:00.
  3. Click 

...

  1. OK.
  2. From the Administration navigation pane, select System Configuration, and then select User Categories Management from the main window. 
  3. Click on the user category you would like to edit.
  4. Enter the VisitorSegments web application URL in

...

  1. the URL field as follows (Enter your CardioLog server name and port)

...

  1. :

    http://[CardioLog server name]:[port]/VisitorSegments/ADCategories.aspx
  •  Click Save and restart the CardioLog Scheduling Service.
  • Perform IISRESET on the CardioLog application server.
  • After the next run of the User Categories Updates service, your  Active Active Directory attributes will be added to the Visitor Segments filter of each report, under User Categories.
  • You can modify how the attribute names (as will be displayed in the Visitor Segments filter ) in from the CardioLog database: Edit the tab_category_categories table and modify the Category_DisplayName column.

Note - The : The User Categories filter can only be applied from once the moment the User Categories Updates is configured, not retroactively. In order to map history map usage data to history to user categories please contact us.

Anchor
sharepoint
sharepoint
Configuring Visitor Segmentation by SharePoint User Profiles

In order to retrieve additional user information, such information such as department, gender, etc. from SharePoint User Profilestitle or any other category available from Active Directory attributes, perform the following steps:

1. Edit the following keys in the [CardioLog Installation Folder]\VisitorSegments\web.config file, located in the <appSettings> section -

...

[sspPropertyNames] - a list (delimiter separated) of user properties which should be imported into CardioLog Analytics.

To view the available user property names go to SharePoint Central Administration > Shared Service Administration > User Profiles and Properties > View Profile Properties.
To retrieve the property name, click the desired property and select Edit > Name field.
You can also view the raw property names directly in the Shared Services database > table PropertyList > column PropertyName.

2. Add visitor segmentation by SharePoint User Profiles to the User Categories Updates service:

...

  1. From the navigation pane in CardioLog go to Administration CardioLog Scheduling Service User Categories Updates.
  2. Set the service Scheduling Type to Daily at 00:00.
  3. Click 

...

  1. OK.
  2. From the Administration navigation pane, select System Configuration, and then select User Categories Management from the main window. 
  3. Click on the user category you would like to edit.
  4. Enter the VisitorSegments web application URL in

...

  1. the URL field as follows  (Enter your CardioLog server name and port)

...

  1. :

    http://[CardioLog server name]:[port]/VisitorSegments/SSPProfiles.aspx

...


  1. Click Save and restart the CardioLog Scheduling Service.
  2. Perform IISRESET on the CardioLog application server.
  3. After the next run of the User Categories Updates service, your SharePoint User Profile properties will be added to the Visitor Segments filter of each report, under User Categories.
  4. You can modify how the

...

  1. attribute names

...

  1. will be displayed in the Visitor Segments

...

  1. filter in the CardioLog database: Edit the tab_category_categories table and modify the Category_DisplayName column.

Note - The : The User Categories filter can only be applied from once the moment the User Categories Updates is configured, not retroactively. In order to map history map usage data to data history to user categories please contact us.