SocialTagManager SocialTagManager SocialTagManager Class

Definition

Contains methods and properties used to manipulate social tag data.

public ref class SocialTagManager sealed : Microsoft::Office::Server::SocialData::SocialDataManager
public sealed class SocialTagManager : Microsoft.Office.Server.SocialData.SocialDataManager
Public NotInheritable Class SocialTagManager
Inherits SocialDataManager
Inheritance
SocialTagManagerSocialTagManagerSocialTagManager

Remarks

To access or add a social tag, call the SocialTagManager class to create a SocialTag object.

Constructors

SocialTagManager() SocialTagManager() SocialTagManager()

Initializes a new instance of the SocialTagManager class.

SocialTagManager(SPServiceContext) SocialTagManager(SPServiceContext) SocialTagManager(SPServiceContext)

Initializes a new instance of the SocialTagManager class using the specified service context.

Properties

IsSocialAdmin IsSocialAdmin IsSocialAdmin Inherited from SocialDataManager
TaxonomySession TaxonomySession TaxonomySession

Gets the TaxonomySession associated with this SocialTagManager object.

Methods

AddTag(Uri, Term) AddTag(Uri, Term) AddTag(Uri, Term)

Creates a SocialTag object with the specified Uri and Term.

AddTag(Uri, Term, String) AddTag(Uri, Term, String) AddTag(Uri, Term, String)

Creates a SocialTag object with the specified Uri, Term, and String.

AddTag(Uri, Term, String, Boolean) AddTag(Uri, Term, String, Boolean) AddTag(Uri, Term, String, Boolean)

Creates a SocialTag with the specified Uri, Term, String and Boolean.

DeleteTag(Uri, Term) DeleteTag(Uri, Term) DeleteTag(Uri, Term)

Deletes a social tag for the specified Uri and Term.

DeleteTags() DeleteTags() DeleteTags()

Deletes all social tags.

DeleteTags(Uri) DeleteTags(Uri) DeleteTags(Uri)

Deletes all social tags on a specified URL.

GetAllTerms() GetAllTerms() GetAllTerms()

Retrieves an array of all SocialTerm objects in the term store.

GetAllTerms(Int32) GetAllTerms(Int32) GetAllTerms(Int32)

Retrieves an array of SocialTerm objects in the term store.

GetAllTerms(Uri, Int32) GetAllTerms(Uri, Int32) GetAllTerms(Uri, Int32)

Retrieves an array of SocialTerm objects in the term store.

GetAllUrls(Term) GetAllUrls(Term) GetAllUrls(Term)

Retrieves an array of SocialUrl objects that have been tagged with the specified term.

GetBulkUserProfiles(List<Int64>) GetBulkUserProfiles(List<Int64>) GetBulkUserProfiles(List<Int64>)

Retrieves a list of user profiles corresponding to the specified list of user record IDs.

(Inherited from SocialDataManager)
GetBulkUserProfiles(List<Int64>, Boolean) GetBulkUserProfiles(List<Int64>, Boolean) GetBulkUserProfiles(List<Int64>, Boolean)

Retrieves a list of user profiles corresponding to the specified list of user record IDs.

(Inherited from SocialDataManager)
GetCount(UserProfile) GetCount(UserProfile) GetCount(UserProfile)

Gets a count of all SocialTag objects owned by the specified user.

GetTags(Uri) GetTags(Uri) GetTags(Uri)

Retrieves an array of SocialTag objects that are owned by the current user and that contain the specified URL.

GetTags(UserProfile) GetTags(UserProfile) GetTags(UserProfile)

Retrieves an array of SocialTag objects owned by the specified user.

GetTags(UserProfile, Int32) GetTags(UserProfile, Int32) GetTags(UserProfile, Int32)

Retrieves an array of SocialTag objects owned by the specified user.

GetTags(UserProfile, Int32, Int32) GetTags(UserProfile, Int32, Int32) GetTags(UserProfile, Int32, Int32)

Retrieves an array of SocialTag objects owned by the specified user.

GetTerms() GetTerms() GetTerms()

Retrieves an array of all SocialTerm objects owned by the current user.

GetTerms(Int32) GetTerms(Int32) GetTerms(Int32)

Retrieves an array of SocialTerm objects owned by the current user.

GetTerms(Uri) GetTerms(Uri) GetTerms(Uri)

Retrieves an array of all SocialTerm objects that have been associated with the specified URL by a SocialTag.

GetTerms(Uri, Int32) GetTerms(Uri, Int32) GetTerms(Uri, Int32)

Retrieves an array of SocialTerm objects that have been associated with the specified URL by a SocialTag.

GetTerms(Uri, Int32, SocialItemPrivacy) GetTerms(Uri, Int32, SocialItemPrivacy) GetTerms(Uri, Int32, SocialItemPrivacy)

Retrieves an array of SocialTerm objects in the term store with the specified SocialItemPrivacy.

GetTerms(UserProfile) GetTerms(UserProfile) GetTerms(UserProfile)

Retrieves an array of all SocialTerm objects owned by the specified user.

GetTerms(UserProfile, Int32) GetTerms(UserProfile, Int32) GetTerms(UserProfile, Int32)

Retrieves an array of SocialTerm objects owned by the specified user.

GetTerms(UserProfile, Int32, SocialItemPrivacy) GetTerms(UserProfile, Int32, SocialItemPrivacy) GetTerms(UserProfile, Int32, SocialItemPrivacy)

Retrieves an array of SocialTerm objects owned by the specified user.

GetUrls(Term) GetUrls(Term) GetUrls(Term)

Retrieves an array of all URLs that are associated with a specified taxonomy term by a SocialTag object.

GetUrls(Term, UserProfile) GetUrls(Term, UserProfile) GetUrls(Term, UserProfile)

Retrieves an array of all URLs that are owned by the specified user and associated with a specified taxonomy term by a SocialTag object.

GetUserProfile(Int64) GetUserProfile(Int64) GetUserProfile(Int64)

Retrieves a user profile corresponding to the specified user record ID.

(Inherited from SocialDataManager)

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to