TeamFoundationServiceHost.CreateUserContext Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Déclaration
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
- identityDescriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
- userName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
.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.