CRMContact Class

The CRMContact class contains methods that you can use to manage contacts.

There are no properties for this class.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Web.Services.Protocols.WebClientProtocol
            System.Web.Services.Protocols.HttpWebClientProtocol
               System.Web.Services.Protocols.SoapHttpClientProtocol
                  CRMContact

[Visual Basic .NET]
Public Class CRMContact
   Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMContact : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMContact: public System.Web.Services.Protocols.SoapHttpClientProtocol

The CRMContact class exposes the following methods.

Method Description
Activate Sets the state of a contact to Active.
Assign Assigns a contact to another security principal.
BulkRetrieve Retrieves multiple contacts by ID.
Create Creates a new contact record.
CreateAndRetrieve Creates a new contact record and then retrieves it.
Deactivate Sets the state of a contact to Inactive.
Delete Deletes a contact and all its child objects.
GrantAccess Grants access to a contact.
MakePrivate Makes a contact private.
MakePublic Makes a contact public.
ModifyAccess Replaces the access rights on the contact for the specified security principal.
Retrieve Retrieves a contact.
RetrieveByObject Retrieves all the contacts associated with the specified object (lead or opportunity).
RetrieveByPrincipal Retrieves all the contacts owned by the specified security principal.
RetrievePrincipalAccess Retrieves the access the specified security principal has to a contact.
RetrieveSharedPrincipals Retrieves a list of security principals (users or teams) with which this contact is shared.
RetrieveSharedPrincipalsAndAccess Retrieves all the security principals (users or teams) that have access to a contact, along with what access they have.
RetrieveSubLeads Retrieves the child leads for the specified contact.
RetrieveSubOpportunities Retrieves the child opportunities for the specified contact.
RevokeAccess Revokes access for the specified security principal for a contact.
Update Updates a contact.
UpdateAndRetrieve Updates a contact and then retrieves it.

Requirements

Namespace: Microsoft.Crm.Platform.Proxy

Assembly: Microsoft.Crm.Platform.Proxy.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.