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