OrganizationServiceContextExtensions.AddMembersTeam Method (OrganizationServiceContext, Guid, Guid[])
Applies To: Dynamics CRM 2015
Adds members to a team. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void AddMembersTeam(
this OrganizationServiceContext context,
Guid teamId,
Guid[] memberIds
)
public:
[ExtensionAttribute]
static void AddMembersTeam(
OrganizationServiceContext^ context,
Guid teamId,
array<Guid>^ memberIds
)
static member AddMembersTeam :
context:OrganizationServiceContext *
teamId:Guid *
memberIds:Guid[] -> unit
<ExtensionAttribute>
Public Shared Sub AddMembersTeam (
context As OrganizationServiceContext,
teamId As Guid,
memberIds As Guid()
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
teamId
Type: System.GuidThe ID of the team.
memberIds
Type: System.Guid[]An array of the IDs of the members to add to the team.
Remarks
This is a method wrapper for the AddMembersTeamRequest and AddMembersTeamResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright