SocialDataService.GetTagUrlsOfUser method

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

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

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.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: []
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.

See also

Reference

SocialDataService class

SocialDataService members

WebSvcSocialDataService namespace