locked
Impersonation in CRM 2011 RRS feed

  • Question

  • Thnks a lot Jehazen, this first link helped a lot, just one more question if somebody can help me ?

     

    on the connection the username and password is the AD because this line:

    credential.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;

    but i need to pass the username, domain and password on the code, on CRM 4.0 I used to use

    NetWorkCredential how can I pass this to the OrganizationServiceProxy ? because this method dont overload a NetworkCredential

    thanks a lot !

     

    • Split by Jamie Miley Tuesday, March 6, 2012 2:55 PM Followup question
    Tuesday, September 27, 2011 3:20 PM

All replies

  • Since organizationServiceProxy doesn't contain an overload that accepts network credential, can you try extracting credentials and providing them to service proxy directly? Let us know if you are still having issues.
    Saturday, May 5, 2012 12:16 AM