This documentation is archived and is not being maintained.

IProfileService Interface

Visual Studio 2013

Service to provide and store profile information about a user that the user generates.

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public interface IProfileService : ITeamFoundationService

The IProfileService type exposes the following members.

  NameDescription
Public methodCreateProfileCreates a profile and returns the created profile.
Public methodDeleteAttributeDeletes the attribute object for the given atrribute name and profile.
Public methodGetRetrieves the profile associated with the given Identity id.
Public methodGetAcceptedTermsOfServiceGet Terms of Service information that relates to the user.
Public methodGetAttributeRetrieves the attribute object for the given atrribute descriptor and profile.
Public methodGetAttributes
Public methodGetAvatarRetrieves the avatar for the given profile.
Public methodGetCountriesRetrives the list of supported countries.
Public methodGetCountryNameRetrives the country name for the given profile.
Public methodGetDisplayNameRetrives the display name for the given profile.
Public methodGetEmailAddressRetrives the email address for the given profile.
Public methodGetLatestTermsofServiceGet current Terms Of Service.
Public methodGetPageLocation
Public methodGetPublicAliasRetrives the public alias for the given profile.
Public methodGetServiceSetting
Public methodServiceEndServiceEnd is called when the Host is being Shutdown and this service should free all resources it is holding onto. (Inherited from ITeamFoundationService.)
Public methodServiceStartServiceStart is called when the service is initialized. If the service is intialized asynchronously it must implement Service_Ready which is used to determine when the service is ready for users to access it. (Inherited from ITeamFoundationService.)
Public methodSetAttribute(TeamFoundationRequestContext, Guid, ProfileAttribute)Conditionally sets an attribute in a profile.
Public methodSetAttribute(TeamFoundationRequestContext, Guid, AttributeDescriptor, String)Sets an attribute in a profile.
Public methodSetAttributes
Public methodSetAvatarSets a avatar for the given profile.
Public methodSetCountryNameUpdates the country name for the given profile.
Public methodSetDisplayNameUpdates the display name for the given profile.
Public methodSetEmailAddressUpdates the email address for the given profile.
Public methodSetPublicAliasUpdates the public alias for the given profile.
Public methodUpdatePartially updates the content of a profile by comparing changes with the contents of a given profile in parameter profile.
Public methodVerifyAndUpdatePreferredEmailGet current Terms Of Service.
Top
Show: