Share via


TeamFoundationSecurityNamespace.EnsureIdentityIsKnown Method

Ensures the identity is in the security group for the given security namespace. This function only has 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

Return Value

Type: Microsoft.VisualStudio.Services.Identity.Identity
Returns TeamFoundationIdentity.

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

Microsoft.TeamFoundation.Framework.Server Namespace