TeamFoundationSecurityNamespace.EnsureIdentityIsKnown Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function EnsureIdentityIsKnown ( _
requestContext As TeamFoundationRequestContext, _
identity As IdentityDescriptor _
) As TeamFoundationIdentity
public TeamFoundationIdentity EnsureIdentityIsKnown(
TeamFoundationRequestContext requestContext,
IdentityDescriptor identity
)
public:
TeamFoundationIdentity^ EnsureIdentityIsKnown(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ identity
)
member EnsureIdentityIsKnown :
requestContext:TeamFoundationRequestContext *
identity:IdentityDescriptor -> TeamFoundationIdentity
public function EnsureIdentityIsKnown(
requestContext : TeamFoundationRequestContext,
identity : IdentityDescriptor
) : TeamFoundationIdentity
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
.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.