This documentation is archived and is not being maintained.

Contact Entity Capabilities

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This entity represents a person with whom a business unit has a relationship. For example, this could be a customer, a supplier, or a colleague.

The class for this entity is contact. For contacts, you can use the messages listed in the following table with the Execute method.

MessageDescription
AssignUse this message to assign a contact to another user.

The information that is used to assign the entity instance is specified in the TargetOwnedContact class.

CreateUse this message to create a contact.

The information that is used to create the entity instance is specified in the TargetCreateContact class.

You can also call the Create method.

DeleteUse this message to delete a contact.

The entity instance to delete is specified in the TargetDeleteContact class.

You can also call the Delete method.

GrantAccessUse this message to share a contact with another security principal (user or team).

The information that is used to grant access to the entity instance is specified in the TargetOwnedContact class.

MergeUse this message to merge two contacts.

The information that is used to merge the entity instances is specified in the TargetMergeContact class.

ModifyAccessUse this message to change the access rights for a contact previously shared with another security principal (user or team).

The information that is used to modify access to the entity instance is specified in the TargetOwnedContact class.

RetrieveUse this message to retrieve a contact.

The entity instance to retrieve is specified in the TargetRetrieveContact class.

You can also call the Retrieve method.

RetrieveMultipleUse this message to retrieve a collection of contacts.

The query expression that describes the entity instances to retrieve is specified in the Query property of this request.

You can also call the RetrieveMultiple method.

RetrievePrincipalAccessUse this message to retrieve the access that the specified security principal (user or team) has to a contact.

The entity instance to retrieve is specified in the TargetOwnedContact class.

RetrieveSharedPrincipalsAndAccessUse this message to retrieve all the security principals (users or teams) that have access to a contact, and their access rights to the contact.

The entity instance to retrieve is specified in the TargetOwnedContact class.

RevokeAccessUse this message to remove all access to a contact for the specified security principal (user or team).

The information that is used to revoke access to the entity instance is specified in the TargetOwnedContact class.

SetStateContactUse this message to set the state of a contact.

The possible states are defined in the ContactState enumeration.

SetStateDynamicEntityUse this message to set the state of a contact using a DynamicEntity instance.

The possible states are defined in the ContactState enumeration.

UpdateUse this message to update a contact.

The entity instance to update is specified in the TargetUpdateContact class.

You can also use the Update method.


See Also

Concepts

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show: