Share via


TeamFoundationServiceHost.CreateUserContext Method

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

Syntax

'Declaration
Public Function CreateUserContext ( _
    identityDescriptor As IdentityDescriptor, _
    userName As String _
) As TeamFoundationRequestContext
public TeamFoundationRequestContext CreateUserContext(
    IdentityDescriptor identityDescriptor,
    string userName
)
public:
TeamFoundationRequestContext^ CreateUserContext(
    IdentityDescriptor^ identityDescriptor, 
    String^ userName
)
member CreateUserContext : 
        identityDescriptor:IdentityDescriptor * 
        userName:string -> TeamFoundationRequestContext 
public function CreateUserContext(
    identityDescriptor : IdentityDescriptor, 
    userName : String
) : TeamFoundationRequestContext

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext

.NET Framework Security

See Also

Reference

TeamFoundationServiceHost Class

Microsoft.TeamFoundation.Framework.Server Namespace