Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
id
Type: System.GuidThe Guid of the Identity with which the Profile is associated. There exists a 1 to 1 mapping between an Identity and a Profile
- queryContext
Type: Microsoft.VisualStudio.Services.Profile.ProfileQueryContext
Return Value
Type: Microsoft.VisualStudio.Services.Profile.Profile
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.