Delen via


ITeamFoundationIdentityService.EnsureIsMember Method (TeamFoundationRequestContext, IdentityDescriptor, IdentityDescriptor)

Ensures that given descriptor is a member of specified TFS Group.

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

Syntax

'Declaration
Function EnsureIsMember ( _
    requestContext As TeamFoundationRequestContext, _
    groupDescriptor As IdentityDescriptor, _
    descriptor As IdentityDescriptor _
) As TeamFoundationIdentity
TeamFoundationIdentity EnsureIsMember(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor groupDescriptor,
    IdentityDescriptor descriptor
)
TeamFoundationIdentity^ EnsureIsMember(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ groupDescriptor, 
    IdentityDescriptor^ descriptor
)
abstract EnsureIsMember : 
        requestContext:TeamFoundationRequestContext * 
        groupDescriptor:IdentityDescriptor * 
        descriptor:IdentityDescriptor -> TeamFoundationIdentity
function EnsureIsMember(
    requestContext : TeamFoundationRequestContext, 
    groupDescriptor : IdentityDescriptor, 
    descriptor : IdentityDescriptor
) : TeamFoundationIdentity

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
The member identity.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

EnsureIsMember Overload

Microsoft.TeamFoundation.Server.Core Namespace