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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- groupDescriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptorMember.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
Member identity.
Implements
.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.