This component uses the UserGroup SOAP web service from SharePoint to fetch users and user group information. Multiple calls are made to the web service;

  • one to get all of the users from SharePoint and 
  • one for each discovered user to get its groups from SharePoint. 

All users and groups information is cached.

If the LDAP Group Expansion was performed before this component, SharePoint Group Expansion will attempt to fetch group information for any Active Directory (LDAP) group.

  • LDAP groups are stored in SharePoint as regular users, so this component invokes a UserGroup web service for each of them. 
  • This resolves any nested groups between SharePoint and LDAP.

SharePoint Group Expansion
Factory Namecom.searchtechnologies.aspire:aspire-scheduler
subTypedefault
InputsA Job containing a group expansion request
OutputsA Job containing a group expansion result

Configuration

ElementTypeDefaultDescription
userstring
Username used to authenticate against SharePoint.
passwordstringN/APassword used to authenticate against SharePoint.
domainstring
Domain used to authenticate against SharePoint.
siteCollectionsToScan/siteCollectionUrlstring
URLs of site collections from which groups will be gathered (more than one allowed).

Example Configurations

<component name="GroupExpansionScheduler" subType="default" factoryName="aspire-scheduler">
  <debug>${debug}</debug>
  <schedules>
  <schedule name="GECache" enabled="true">
  <cron>${geSchedule}</cron>
  <event>onGECache</event>
  <job>
    <![CDATA[
      <doc actionProperties="cacheGroups">
	<connectorSource>
	  <domain>${DefaultDomain}</domain>
  	  <username>${DefaultUserName}</username>
	  <password>${DefaultPassword}</password>
	  <groupPrefixSeparator>@</groupPrefixSeparator>
	  <siteCollectionsToScan>
            <siteCollectionUrl>${url}</siteCollectionUrl>
          </siteCollectionsToScan>
	</connectorSource>
	<displayName>SharePointConnector</displayName>
      </doc>
    ]]>
  </job>
  </schedule>
  </schedules>
  <branches>
    <branch event="onGECache" pipelineManager="Main" />
  </branches>
</component>



  • No labels