Ensures the identity is in the security group for the given security namespace. This function only needs to be called if ACEs are being persisted in a manner other than using the APIs on this interface
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 Identity
public Identity EnsureIdentityIsKnown(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor identity
)
public:
Identity^ EnsureIdentityIsKnown(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ identity
)
member EnsureIdentityIsKnown : 
        requestContext:TeamFoundationRequestContext * 
        identity:IdentityDescriptor -> Identity
public function EnsureIdentityIsKnown(
    requestContext : TeamFoundationRequestContext, 
    identity : IdentityDescriptor
) : Identity
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The context for the current request. 
- identity 
 Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor- The identity to ensure is valid. 
Return Value
Type: Microsoft.VisualStudio.Services.Identity.Identity
Returns Identity.
.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.