Impersonation in CRM 2011

Pytanie Impersonation in CRM 2011

  • Tuesday, 27 September 2011 3:20 PM
     
     

    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 MileyMVP Tuesday, 6 March 2012 2:55 PM Followup question
    •  

All Replies

  • Saturday, 5 May 2012 12:16 AM
     
     
    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.