IProfileService.Get, méthode
Récupère le profil associé à l'identification données d'identité
Espace de noms : Microsoft.VisualStudio.Services.Profile
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
Function Get ( _
requestContext As TeamFoundationRequestContext, _
id As Guid, _
queryContext As ProfileQueryContext _
) As Profile
Profile Get(
TeamFoundationRequestContext requestContext,
Guid id,
ProfileQueryContext queryContext
)
Paramètres
- requestContext
Type : Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- id
Type : System.Guid
Le Guid de l'identité à laquelle le profil est associé.Là existe un mappage 1 à 1 entre une identité et un profil
- queryContext
Type : Microsoft.VisualStudio.Services.Profile.ProfileQueryContext
Valeur de retour
Type : Microsoft.VisualStudio.Services.Profile.Profile
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.