ITeamFoundationIdentityService.AddMemberToApplicationGroup Method (TeamFoundationRequestContext, IdentityDescriptor, IdentityDescriptor)
Add member to TFS Group.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function AddMemberToApplicationGroup ( _
requestContext As TeamFoundationRequestContext, _
groupDescriptor As IdentityDescriptor, _
descriptor As IdentityDescriptor _
) As TeamFoundationIdentity
TeamFoundationIdentity AddMemberToApplicationGroup(
TeamFoundationRequestContext requestContext,
IdentityDescriptor groupDescriptor,
IdentityDescriptor descriptor
)
TeamFoundationIdentity^ AddMemberToApplicationGroup(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ groupDescriptor,
IdentityDescriptor^ descriptor
)
abstract AddMemberToApplicationGroup :
requestContext:TeamFoundationRequestContext *
groupDescriptor:IdentityDescriptor *
descriptor:IdentityDescriptor -> TeamFoundationIdentity
function AddMemberToApplicationGroup(
requestContext : TeamFoundationRequestContext,
groupDescriptor : IdentityDescriptor,
descriptor : IdentityDescriptor
) : TeamFoundationIdentity
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for this request.
groupDescriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorTFS group SID.
descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe member.
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
Returns TeamFoundationIdentity.
.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.
See Also
Reference
ITeamFoundationIdentityService Interface