IProfileService 接口
提供和存储有关用户生成的用户的配置文件信息的服务。
命名空间: Microsoft.VisualStudio.Services.Profile
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Interface IProfileService _
Inherits ITeamFoundationService
public interface IProfileService : ITeamFoundationService
IProfileService 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
CreateProfile | 创建一个配置文件并返回创建的配置文件。 | |
DeleteAttribute | 删除命名的 atrribute 名称和配置文件属性的对象。 | |
Get | 检索该配置文件与特定标识 ID. | |
GetAcceptedTermsOfService | 获取服务文章与用户相关的信息。 | |
GetAttribute | 检索特定 atrribute 描述符和配置文件属性的对象。 | |
GetAttributes | ||
GetAvatar | 检索给定配置文件的具体化。 | |
GetCountries | Retrives 支持的国家/地区列表。 | |
GetCountryName | Retrives 国家/地区名称特定的配置文件。 | |
GetDisplayName | Retrives 显示名称特定的配置文件。 | |
GetEmailAddress | Retrives 特定的配置文件的电子邮件。 | |
GetLatestTermsofService | 获取当前服务文章。 | |
GetPageLocation | ||
GetPublicAlias | Retrives 特定配置文件是公共的别名。 | |
GetServiceSetting | ||
ServiceEnd | ServiceEnd 调用,当托管是它保留中的关闭时,该服务应释放所有资源。 (继承自 ITeamFoundationService。) | |
ServiceStart | 当服务初始化时,ServiceStart 调用。如果服务 intialized 异步它必须实现用于确定的 Service_Ready 服务时准备用户访问它。 (继承自 ITeamFoundationService。) | |
SetAttribute(TeamFoundationRequestContext, Guid, ProfileAttribute) | 有条件地在配置文件中设置特性。 | |
SetAttribute(TeamFoundationRequestContext, Guid, AttributeDescriptor, String) | 在配置文件中设置特性。 | |
SetAttributes | ||
SetAvatar | 将特定的配置文件的具体化。 | |
SetCountryName | 更新国家/地区名称给定配置文件。 | |
SetDisplayName | 更新显示名称给定配置文件。 | |
SetEmailAddress | 更新给定配置文件的电子邮件。 | |
SetPublicAlias | 更新给定配置文件是公共的别名。 | |
Update | 通过改变部分地更新配置文件的内容与特定的配置文件的内容将参数 profile上。 | |
VerifyAndUpdatePreferredEmail | 获取当前服务文章。 |
页首