คำถาม Impersonation in CRM 2011

  • 27 กันยายน 2554 15:20
     
     

    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 !

     

    • แตกโดย Jamie MileyMVP 6 มีนาคม 2555 14:55 Followup question
    •  

ตอบทั้งหมด

  • 5 พฤษภาคม 2555 0:16
     
     
    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.