SocialDataService.GetTagUrlsOfUser Method
Retrieves all social URLs that have been tagged by the specified user with the specified social tag term.
Namespace: [SocialDataService Web service]
Web service reference: http://Site/_vti_bin/SocialDataService.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagUrlsOfUser", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetTagUrlsOfUser ( _
termID As Guid, _
userAccountName As String _
) As String()
'Usage
Dim instance As SocialDataService
Dim termID As Guid
Dim userAccountName As String
Dim returnValue As String()
returnValue = instance.GetTagUrlsOfUser(termID, _
userAccountName)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagUrlsOfUser", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string[] GetTagUrlsOfUser(
Guid termID,
string userAccountName
)
Parameters
termID
Type: System.GuidThe ID of the social term used to tag the social URLs.
userAccountName
Type: System.StringThe account name of the specified user.
Return Value
Type: []
An array that contains all social URLs tagged by the specified user with the specified term.
Exceptions
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. |
Remarks
This method returns up to 400 URLs tagged by the specified user with the specified social tag term.