TeamFoundationIdentityService.EnsureIsMember Method (TeamFoundationRequestContext, IdentityDescriptor, IdentityDescriptor)
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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.VisualStudio.Services.Identity.IdentityDescriptor
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
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.