SocialDataService.GetRatingsOfUser method

Retrieves all social ratings associated with the specified user.

Namespace:  WebSvcSocialDataService
Assembly:  UserProfileServices (in UserProfileServices.dll)

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetRatingsOfUser", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SocialRatingDetail[] GetRatingsOfUser(
	string userAccountName
)

Parameters

userAccountName
Type: System.String

The account name of the user.

Return value

Type: []
An array that contains all social ratings associated with the specified user.

ExceptionCondition
ArgumentNullException

userAccountName is null .

UserNotFoundException

The user profile for userAccountName cannot be found.

SqlException

The user does not have permission to access the user profile for userAccountName.

This method returns up to 1000 social ratings associated with the specified user.

Show: