Add the claims search web service used in the Agent for SharePoint to specific SharePoint web applications by executing the Add-SMClaimSearchService command. The changes made by this script are reflected across the SharePoint Farm.
Follow these steps:
The SharePoint 2010 Management Shell command prompt appears.
C:\Program Files\CA\SharePointClaimsProvider\scripts
ADD-SMClaimSearchService.ps1 -WebApplication <URL_of_web_application> -claimSearchService <URL_of_claim_search_service_in_spagent>
Specifies the URL of the web application.
Specifies the URL of the claim search service running in Agent for SharePoint.
Example:
.\ADD-SMClaimSearchService.ps1 -WebApplication http://myhostname:1234 -claimSearchService http://spagent.ca.com:2345/ClaimsWS/services/WSSharePointClaimsServiceImpl
The claims search web service is added to the web.conf file of the web application.
ADD-SMClaimSearchService.ps1 -WebApplication <Central_Administration_URL> -claimSearchService <URL_of_claim_search_service_in_spagent>
Specifies the URL of the SharePoint Central Administration website.
Specifies the URL of the claim search service running in the Agent for SharePoint. Add the port number you specified for the Claims WS of the Agent for SharePoint when you ran the Configuration wizard to the end of the URL.
Example:
.\ADD-SMClaimSearchService.ps1 -WebApplication http://SharePoint_server_name:1221 -claimSearchService http://spagent.ca.com:2345/ClaimsWS/services/WSSharePointClaimsServiceImpl
The claims search web service is added to the web.conf file of the SharePoint Central Administration.
Copyright © 2013 CA.
All rights reserved.
|
|