OrganizationServiceProxy Class

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Implements IOrganizationService and provides an authenticated WCF channel to the organization service.

Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
Public Class OrganizationServiceProxy
    Inherits ServiceProxy(Of IOrganizationService)
    Implements IOrganizationService
public class OrganizationServiceProxy : ServiceProxy<IOrganizationService>, IOrganizationService

Remarks

To call the Microsoft Dynamics CRM web service using the IOrganizationService interface, cast the proxy instance to an IOrganizationService type.

Important

This class is not thread safe. Microsoft Dynamics CRM Online authentication using the Microsoft online services environment identity provider, including Microsoft Office 365, is supported.

Inheritance Hierarchy

System.Object
   Microsoft.Xrm.Sdk.Client.ServiceProxy
    Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

Change History

See Also

Reference

OrganizationServiceProxy Members
Microsoft.Xrm.Sdk.Client Namespace

Other Resources

Active Directory and Claims-Based Authentication
Sample: Authenticate Users with Microsoft Dynamics CRM Web Services
Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.