ITeamFoundationIdentityService.ReadIdentity 方法 (TeamFoundationRequestContext, IdentitySearchFactor, String, MembershipQuery, ReadIdentityOptions, IEnumerable<String>, IdentityPropertyScope)
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Function ReadIdentity ( _
requestContext As TeamFoundationRequestContext, _
searchFactor As IdentitySearchFactor, _
factorValue As String, _
queryMembership As MembershipQuery, _
readOptions As ReadIdentityOptions, _
propertyNameFilters As IEnumerable(Of String), _
propertyScope As IdentityPropertyScope _
) As TeamFoundationIdentity
TeamFoundationIdentity ReadIdentity(
TeamFoundationRequestContext requestContext,
IdentitySearchFactor searchFactor,
string factorValue,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions,
IEnumerable<string> propertyNameFilters,
IdentityPropertyScope propertyScope
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- searchFactor
类型:Microsoft.TeamFoundation.Framework.Common.IdentitySearchFactor
- factorValue
类型:System.String
- queryMembership
类型:Microsoft.TeamFoundation.Framework.Common.MembershipQuery
- propertyNameFilters
类型:System.Collections.Generic.IEnumerable<String>
- propertyScope
类型:Microsoft.TeamFoundation.Framework.Common.IdentityPropertyScope
返回值
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。