OrganizationServiceProxy Members
Implements IOrganizationService and provides an authenticated WCF channel to the organization service.
The following tables list the members exposed by the OrganizationServiceProxy type.
Public Constructors
Name | Description | |
---|---|---|
OrganizationServiceProxy | Overloaded. Initializes a new instance of the OrganizationServiceProxy class. |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
CallerId | Gets or sets the ID of the user for whom SDK calls are made on behalf of. | |
CallerRegardingObjectId | ||
ClientCredentials | Gets the login credentials of the client. (inherited from ServiceProxy) | |
DeviceCredentials | Gets the Windows Live credentials of a registered device. (inherited from ServiceProxy) | |
EndpointAutoSwitchEnabled | Gets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint. (inherited from ServiceProxy) | |
EndpointSwitch | Gets the endpoint switch information from the web service configuration. (inherited from ServiceProxy) | |
HomeRealmSecurityTokenResponse | Gets the security token response of the home realm. (inherited from ServiceProxy) | |
HomeRealmUri | Gets the home realm URI. (inherited from ServiceProxy) | |
IsAuthenticated | Gets a value indicating if the WCF channel has been authenticated. (inherited from ServiceProxy) | |
SdkClientVersion | Gets or sets the version of the client. | |
SecurityTokenResponse | Gets the security token response. (inherited from ServiceProxy) | |
ServiceChannel | Gets the communication channel used to access a Microsoft Dynamics CRM service. (inherited from ServiceProxy) | |
ServiceConfiguration | Gets a service configuration. (inherited from ServiceProxy) | |
ServiceManagement | Gets a service management. (inherited from ServiceProxy) | |
SyncOperationType | For internal use only. | |
Timeout | Gets or sets the maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding. (inherited from ServiceProxy) | |
UserPrincipalName | Gets or sets the UPN that is an Internet-style login name for a user based on the Internet standard RFC 822. (inherited from ServiceProxy) | |
UserType |
Top
Protected Properties
Name | Description | |
---|---|---|
ChannelFactory | Gets a WCF channel factory that manages a single channel instance. (inherited from ServiceProxy) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Associate | Creates a link between records. | |
Authenticate | Closes the service channel and channel factory if they are open, and then invokes AuthenticateCore. (inherited from ServiceProxy) | |
AuthenticateCrossRealm | Invokes AuthenticateCrossRealmCore. (inherited from ServiceProxy) | |
AuthenticateDevice | Invokes AuthenticateDeviceCore. (inherited from ServiceProxy) | |
Create | Creates a record. | |
Delete | Deletes a record. | |
Disassociate | Deletes a link between records. | |
Dispose | Overloaded. Methods that explicitly free allocated service channel resources. (inherited from ServiceProxy) | |
EnableProxyTypes | Overloaded. Enables support for the early-bound entity types. | |
Equals | (inherited from Object) | |
Execute | Executes a message in the form of a request, and returns a response. | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
Retrieve | Retrieves a record. | |
RetrieveMultiple | Retrieves a collection of records. | |
SwitchToAlternateEndpoint | Switches the organization’s current endpoint to an alternate endpoint, if one is available. (inherited from ServiceProxy) | |
ToString | (inherited from Object) | |
Update | Updates an existing record. |
Top
Protected Methods
Name | Description | |
---|---|---|
AuthenticateCore | Authenticates the client with a service. (inherited from ServiceProxy) | |
AuthenticateCrossRealmCore | Authenticates a user in a realm other than the realm that the Microsoft Dynamics CRM server is located in. (inherited from ServiceProxy) | |
AuthenticateDeviceCore | Authenticates a device with Windows Live. (inherited from ServiceProxy) | |
CloseChannel | Closes a validated service channel. (inherited from ServiceProxy) | |
Dispose | Overloaded. Methods that explicitly free allocated service channel resources. (inherited from ServiceProxy) | |
Finalize | Overridden. Implicitly frees allocated service channel and service factory resources. (inherited from Object) | |
HandleFailover | Overloaded. For internal use only. (inherited from ServiceProxy) | |
MemberwiseClone | (inherited from Object) | |
OnFactoryClosed | Event handler virtual method for a channel factory that is in a closed state. (inherited from ServiceProxy) | |
OnFactoryFaulted | Event handler virtual method for a channel factory that is in a faulted state. (inherited from ServiceProxy) | |
OnFactoryOpened | Event handler virtual method for a channel factory that is in an opened state. (inherited from ServiceProxy) | |
ShouldRetry | Checks a message security exception to determine if a service call should be attempted again. (inherited from ServiceProxy) | |
ValidateAuthentication | Authenticates the client and creates a new service channel. (inherited from ServiceProxy) |
Top
Public Events
Name | Description | |
---|---|---|
EndpointSwitched | Occurs when a failover recovery has completed and the organization’s current endpoint has been switched to an alternate endpoint. (inherited from ServiceProxy) | |
EndpointSwitchRequired | Occurs when a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required. (inherited from ServiceProxy) | |
FactoryClosed | Occurs when a channel factory is closed. (inherited from ServiceProxy) | |
FactoryFaulted | Occurs when a channel factory is faulted. (inherited from ServiceProxy) | |
FactoryOpened | Occurs when a channel factory is opened. (inherited from ServiceProxy) |
Top
See Also
Reference
OrganizationServiceProxy Class
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.
© 2015 Microsoft. All rights reserved.