SocialDataService.GetTagUrlsOfUser method
SharePoint 2013
This documentation is preliminary and is subject to change.
Retrieves all social URLs that have been tagged by the specified user with the specified social tag term.
Assembly: UserProfileServices (in UserProfileServices.dll)
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagUrlsOfUser", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string[] GetTagUrlsOfUser( Guid termID, string userAccountName )
Parameters
- termID
- Type: System.Guid
The ID of the social term used to tag the social URLs.
- userAccountName
- Type: System.String
The account name of the specified user.
Return value
Type: System.String[]An array that contains all social URLs tagged by the specified user with the specified term.
| Exception | Condition |
|---|---|
| ArgumentNullException | userAccountName is null , a social tag term does not exist with the termID, or the social tag term is not available for tagging. |
| UserNotFoundException | The user profile for userAccountName cannot be found. |
| SqlException | The user does not have permission to access the user profile for userAccountName. |