Article ID: 822456 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
This article describes the recommended way to authenticate specific user credentials by using the Microsoft Customer Relationship Management (CRM) Security Model from an external process.
To manually load the CredentialCache method of the client proxy class, you must understand the System.Net.CredentialCache class. For more information, visit the following MSDN Web site:
.NET Framework Class Library - CredentialCache.Add MethodMicrosoft CRM uses integrated Microsoft Windows authentication to perform authentication. As a result, the following Microsoft C# code loads the CredentialCache method of the Microsoft CRM proxy class on the server where the process that is integrating with Microsoft CRM resides.
Each time that the Web application has to authenticate to the Microsoft CRM API classes and pass lead data, the application passes the credentials of User 1. When a record is created or updated from the Web application to Microsoft CRM, the CreatedBy field and the LastUpdatedBy field are populated with User 1's credentials.
For more information about the Microsoft CRM Proxy classes, visit the following MSDN Web sites:
Microsoft CRM SDK
Contact us for more help
Connect with Answer Desk for expert help.