Κοινή χρήση μέσω


Team entity messages and methods

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A team is a group of users. Individual users are called team members. A team reports to a business unit and team members may be from different business units. Creating a team gives greater flexibility for sharing business objects and collaboration. A team can own records or the records can be shared with the team. The schema name for this entity is Team. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.

The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.

Message

Description

AddMembersTeamRequest

Adds members to a team.

AssociateRequest

Creates a link between a record and one or more records that participate in a relationship. You can also use the IOrganizationService.Associate method. For more information, see Actions on entity records. For a list of default relationships for this entity, refer to the Team entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information.

ConvertOwnerTeamToAccessTeamRequest

Converts a team of an owner type to a team of an access type.

CreateRequest

Creates a team. You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes a team. You can also call the IOrganizationService.Delete method.

DisassociateRequest

Removes a link between a record and one or more records that participate in a relationship. You can also use the IOrganizationService.Disassociate method. For more information, see Actions on entity records. For a list of default relationships for this entity, refer to the Team entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information.

InitializeFromRequest

Initializes a new record from an existing record provided that an attribute map is defined for the two entities. For more information, see Customize entity and attribute mappings.

RemoveMembersTeamRequest

Removes members from a team.

RetrieveDuplicatesRequest

Detects and retrieves duplicate records for the specified record provided that duplicate detection is enabled and there are published duplicate detection rules for the entity. For more information, see Detect duplicate data.

RetrieveRequest

Retrieves a team. You can also call the IOrganizationService.Retrieve method.

RetrieveMembersTeamRequest

Deprecated. Use the RetrieveMultipleRequest class and its members.

Retrieves the members of a team.

RetrieveMultipleRequest

Retrieves a collection of teams. You can also call the IOrganizationService.RetrieveMultiple method.

RetrievePrincipalAttributePrivilegesRequest

Retrieves all the secured attribute privileges that a user or team has through direct or indirect team membership associations with the FieldSecurityProfile entity.

RetrieveTeamPrivilegesRequest

Retrieves the privileges for a team.

SetParentTeamRequest

Sets the parent business unit for a team.

UpdateRequest

Updates a team. You can also call the IOrganizationService.Update method.

See Also

User and team entities
Use access teams and owner teams to collaborate and share information
Privileges by entity
TeamTemplate entity messages and methods

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright