Share via


TeamFoundationIdentityService.EnsureIsMember Method (TeamFoundationRequestContext, IdentityDescriptor, IdentityDescriptor)

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

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

Syntax

'Declaration
Public Function EnsureIsMember ( _
    requestContext As TeamFoundationRequestContext, _
    groupDescriptor As IdentityDescriptor, _
    descriptor As IdentityDescriptor _
) As TeamFoundationIdentity
public TeamFoundationIdentity EnsureIsMember(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor groupDescriptor,
    IdentityDescriptor descriptor
)
public:
virtual TeamFoundationIdentity^ EnsureIsMember(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ groupDescriptor, 
    IdentityDescriptor^ descriptor
) sealed
abstract EnsureIsMember : 
        requestContext:TeamFoundationRequestContext * 
        groupDescriptor:IdentityDescriptor * 
        descriptor:IdentityDescriptor -> TeamFoundationIdentity  
override EnsureIsMember : 
        requestContext:TeamFoundationRequestContext * 
        groupDescriptor:IdentityDescriptor * 
        descriptor:IdentityDescriptor -> TeamFoundationIdentity
public final function EnsureIsMember(
    requestContext : TeamFoundationRequestContext, 
    groupDescriptor : IdentityDescriptor, 
    descriptor : IdentityDescriptor
) : TeamFoundationIdentity

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
Member identity.

Implements

ITeamFoundationIdentityService.EnsureIsMember(TeamFoundationRequestContext, IdentityDescriptor, IdentityDescriptor)

.NET Framework Security

See Also

Reference

TeamFoundationIdentityService Class

EnsureIsMember Overload

Microsoft.TeamFoundation.Framework.Server Namespace