다음을 통해 공유


SocialDataService.GetTagUrlsOfUserByKeyword Method

Retrieves all social URLs that have been tagged by the specified user with the specified keyword.

Namespace:  [SocialDataService Web service]
Web service reference: http://Site/_vti_bin/SocialDataService.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagUrlsOfUserByKeyword", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetTagUrlsOfUserByKeyword ( _
    keyword As String, _
    userAccountName As String _
) As String()
'Usage
Dim instance As SocialDataService
Dim keyword As String
Dim userAccountName As String
Dim returnValue As String()

returnValue = instance.GetTagUrlsOfUserByKeyword(keyword, _
    userAccountName)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagUrlsOfUserByKeyword", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string[] GetTagUrlsOfUserByKeyword(
    string keyword,
    string userAccountName
)

Parameters

  • keyword
    Type: System.String

    The social keyword associated with the social URLs.

  • userAccountName
    Type: System.String

    The account name of the specified user.

Return Value

Type: []
An array that contains all social URLs tagged by the specified user with the specified keyword.

Exceptions

Exception Condition
ArgumentNullException

userAccountName is null , a social tag term does not exist with the keyword, 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 keyword.

See Also

Reference

SocialDataService Class

SocialDataService Members

SocialDataService Web Service