Share via


IProfileService Interface

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)

Syntax

'Declaration
Public Interface IProfileService _
    Inherits ITeamFoundationService
public interface IProfileService : ITeamFoundationService
public interface class IProfileService : ITeamFoundationService
type IProfileService =  
    interface 
        interface ITeamFoundationService 
    end
public interface IProfileService extends ITeamFoundationService

The IProfileService type exposes the following members.

Methods

  Name Description
Public method CreateProfile Creates a profile and returns the created profile.
Public method DeleteAttribute Deletes the attribute object for the given atrribute name and profile.
Public method Get Retrieves the profile associated with the given Identity id.
Public method GetAcceptedTermsOfService Get Terms of Service information that relates to the user.
Public method GetAttribute Retrieves the attribute object for the given atrribute descriptor and profile.
Public method GetAttributes
Public method GetAvatar Retrieves the avatar for the given profile.
Public method GetCountries Retrives the list of supported countries.
Public method GetCountryName Retrives the country name for the given profile.
Public method GetDisplayName Retrives the display name for the given profile.
Public method GetEmailAddress Retrives the email address for the given profile.
Public method GetLatestTermsofService Get current Terms Of Service.
Public method GetPageLocation
Public method GetPublicAlias Retrives the public alias for the given profile.
Public method GetServiceSetting
Public method ServiceEnd ServiceEnd is called when the Host is being Shutdown and this service should free all resources it is holding onto. (Inherited from ITeamFoundationService.)
Public method ServiceStart ServiceStart 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 method SetAttribute(TeamFoundationRequestContext, Guid, ProfileAttribute) Conditionally sets an attribute in a profile.
Public method SetAttribute(TeamFoundationRequestContext, Guid, AttributeDescriptor, String) Sets an attribute in a profile.
Public method SetAttributes
Public method SetAvatar Sets a avatar for the given profile.
Public method SetCountryName Updates the country name for the given profile.
Public method SetDisplayName Updates the display name for the given profile.
Public method SetEmailAddress Updates the email address for the given profile.
Public method SetPublicAlias Updates the public alias for the given profile.
Public method Update Partially updates the content of a profile by comparing changes with the contents of a given profile in parameter profile.
Public method VerifyAndUpdatePreferredEmail Get current Terms Of Service.

Top

See Also

Reference

Microsoft.VisualStudio.Services.Profile Namespace