SocialDataService.GetRatingsOnUrl method
SharePoint 2013
This documentation is preliminary and is subject to change.
Retrieves all social ratings created for the specified URL.
Assembly: UserProfileServices (in UserProfileServices.dll)
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetRatingsOnUrl", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public SocialRatingDetail[] GetRatingsOnUrl( string url )
Parameters
- url
- Type: System.String
The URL for which social ratings are retrieved. This value must be in a valid URI format and must contain fewer than 2085 characters.
Return value
Type: WebSvcSocialDataService.SocialRatingDetail[]An array that contains all social ratings created for the specified URL.
| Exception | Condition |
|---|---|
| ArgumentNullException | url is null . |
| UriFormatException | url is not in the correct format. |
| SqlException | The user does not have permission to view the social ratings for url. |