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.
Creates a profile and returns the created profile.
Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function CreateProfile ( _
    requestContext As TeamFoundationRequestContext, _
    createProfileContext As CreateProfileContext _
) As Profile
Profile CreateProfile(
    TeamFoundationRequestContext requestContext,
    CreateProfileContext createProfileContext
)
Profile^ CreateProfile(
    TeamFoundationRequestContext^ requestContext, 
    CreateProfileContext^ createProfileContext
)
abstract CreateProfile : 
        requestContext:TeamFoundationRequestContext * 
        createProfileContext:CreateProfileContext -> Profile
function CreateProfile(
    requestContext : TeamFoundationRequestContext, 
    createProfileContext : CreateProfileContext
) : Profile
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- createProfileContext
 Type: Microsoft.VisualStudio.Services.Profile.CreateProfileContext
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.