RetrieveOrganizationRequest Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the data that is needed to retrieve information about an organization.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest
Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationRequest
| Name | Description | |
|---|---|---|
![]() | RetrieveOrganizationRequest() | Initializes a new instance of the RetrieveOrganizationRequest class. |
| Name | Description | |
|---|---|---|
![]() | AccessType | Gets or sets the access type of the organization’s service endpoint. |
![]() | ExtensionData | Gets or sets the structure that contains extra data. Optional.(Inherited from DiscoveryRequest.) |
![]() | Release | Indicates the applicable version of Microsoft Dynamics 365. |
![]() | UniqueName | Gets or sets the unique name of the organization. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Message Availability
For this message to work, the caller must be connected to the server.
Usage
Pass an instance of this class to the Execute method.
Privileges and Access Rights
To perform this action, the caller must have a system user account in Microsoft Dynamics 365.
// Retrieve details about a single organization discoverable via the Discovery service. // RetrieveOrganizationRequest orgRequest = new RetrieveOrganizationRequest() { UniqueName = organizations.Details[organizations.Details.Count -1].UniqueName, AccessType = EndpointAccessType.Default, Release = OrganizationRelease.Current }; RetrieveOrganizationResponse org = (RetrieveOrganizationResponse)service.Execute(orgRequest);
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright

