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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe TFS group SID.
groupDescriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe member.
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
The member identity.
.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.