ITeamFoundationIdentityService.EnsureIsMember Method (TeamFoundationRequestContext, IdentityDescriptor, TeamFoundationIdentity)
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, _
member As TeamFoundationIdentity _
) As TeamFoundationIdentity
TeamFoundationIdentity EnsureIsMember(
TeamFoundationRequestContext requestContext,
IdentityDescriptor groupDescriptor,
TeamFoundationIdentity member
)
TeamFoundationIdentity^ EnsureIsMember(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ groupDescriptor,
TeamFoundationIdentity^ member
)
abstract EnsureIsMember :
requestContext:TeamFoundationRequestContext *
groupDescriptor:IdentityDescriptor *
member:TeamFoundationIdentity -> TeamFoundationIdentity
function EnsureIsMember(
requestContext : TeamFoundationRequestContext,
groupDescriptor : IdentityDescriptor,
member : TeamFoundationIdentity
) : TeamFoundationIdentity
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe TFS group SID.
groupDescriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe member.
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.