Share via


IProfileService.Get Method

Retrieves the profile associated with the given Identity id.

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function Get ( _
    requestContext As TeamFoundationRequestContext, _
    id As Guid, _
    queryContext As ProfileQueryContext _
) As Profile
Profile Get(
    TeamFoundationRequestContext requestContext,
    Guid id,
    ProfileQueryContext queryContext
)
Profile^ Get(
    TeamFoundationRequestContext^ requestContext, 
    Guid id, 
    ProfileQueryContext^ queryContext
)
abstract Get : 
        requestContext:TeamFoundationRequestContext * 
        id:Guid * 
        queryContext:ProfileQueryContext -> Profile
function Get(
    requestContext : TeamFoundationRequestContext, 
    id : Guid, 
    queryContext : ProfileQueryContext
) : Profile

Parameters

  • id
    Type: System.Guid

    The Guid of the Identity with which the Profile is associated. There exists a 1 to 1 mapping between an Identity and a Profile

Return Value

Type: Microsoft.VisualStudio.Services.Profile.Profile

.NET Framework Security

See Also

Reference

IProfileService Interface

Microsoft.VisualStudio.Services.Profile Namespace