SocialTagManager.GetTerms Method (UserProfile, Int32, SocialItemPrivacy)
Retrieves an array of SocialTerm objects owned by the specified user.
Namespace: Microsoft.Office.Server.SocialData
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetTerms ( _
user As UserProfile, _
maximumItemsToReturn As Integer, _
socialItemPrivacy As SocialItemPrivacy _
) As SocialTerm()
'Usage
Dim instance As SocialTagManager
Dim user As UserProfile
Dim maximumItemsToReturn As Integer
Dim socialItemPrivacy As SocialItemPrivacy
Dim returnValue As SocialTerm()
returnValue = instance.GetTerms(user, _
maximumItemsToReturn, socialItemPrivacy)
public SocialTerm[] GetTerms(
UserProfile user,
int maximumItemsToReturn,
SocialItemPrivacy socialItemPrivacy
)
Parameters
maximumItemsToReturn
Type: System.Int32The maximum size of the array.
- socialItemPrivacy
Type: Microsoft.Office.Server.SocialData.SocialItemPrivacy
Return Value
Type: []
Returns SocialTerm.