AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Retrieves information about the organization that the user's account belongs to.

This operation can be called from any account in the organization.

Even if a policy type is shown as available in the organization, it can be disabled separately at the root level with DisablePolicyType. Use ListRoots to see the status of policy types for a specified root.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to DescribeOrganizationAsync.

Namespace: Amazon.Organizations
Assembly: AWSSDK.Organizations.dll
Version: 3.x.y.z


public abstract DescribeOrganizationResponse DescribeOrganization(
         DescribeOrganizationRequest request
Type: Amazon.Organizations.Model.DescribeOrganizationRequest

Container for the necessary parameters to execute the DescribeOrganization service method.

Return Value
The response from the DescribeOrganization service method, as returned by Organizations.


AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
AWSOrganizationsNotInUseException Your account is not a member of an organization. To make this request, you must use the credentials of an account that belongs to an organization.
ConcurrentModificationException The target of the operation is currently being modified by a different request. Try again later.
ServiceException AWS Organizations can't complete your request because of an internal service error. Try again later.
TooManyRequestsException You've sent too many requests in too short a period of time. The limit helps protect against denial-of-service attacks. Try again later.


The following example shows how to request information about the current user's organization:/n/n

To get information about an organization

var response = client.DescribeOrganization(new DescribeOrganizationRequest 

Organization organization = response.Organization;


Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also