robot_2Generated
code_blocksInput

Description

The Org property of the Package class represents the owner of the package. It provides information about the organization that owns or manages the package within the Sandbox environment.

Usage

To access the organization information of a package, use the Org property. This property is read-only and returns an instance of Sandbox.Package.Organization, which contains details about the organization.

Example

// Example of accessing the Org property
Sandbox.Package myPackage = GetPackage();
Sandbox.Package.Organization packageOwner = myPackage.Org;

// Display the organization name
string organizationName = packageOwner.Name;
// Use the organization name as needed
// e.g., display it in a UI element or log it for debugging purposes