Skip to main content

EnvironmentInfo

  • Namespace: PPDS.Auth.Profiles
  • Assembly: PPDS.Auth
  • Kind: Class

Summary​

Information about a Dataverse environment bound to a profile.

Members​

Methods​

Clone​

EnvironmentInfo Clone()

Creates a deep copy of this environment info.

Create​

EnvironmentInfo Create(string url, string displayName)

Creates a new instance with the minimum required information.

  • Param url: The environment URL.

  • Param displayName: The display name.

  • Returns: A new EnvironmentInfo instance.

ToString​

string ToString()

Returns a string representation of the environment.

Properties​

DisplayName​

string DisplayName { get; set; }

Gets or sets the display name (friendly name). Example: PPDS Demo - Dev

EnvironmentId​

string EnvironmentId { get; set; }

Gets or sets the Power Platform environment ID.

OrganizationId​

string OrganizationId { get; set; }

Gets or sets the organization ID (GUID).

Region​

string Region { get; set; }

Gets or sets the geographic region. Example: NA, EMEA, APAC

Type​

string Type { get; set; }

Gets or sets the environment type. Example: Sandbox, Production

UniqueName​

string UniqueName { get; set; }

Gets or sets the unique name. Example: unq3a504f4385d7f01195c7000d3a5cc

Url​

string Url { get; set; }

Gets or sets the environment URL. Example: https://orgcabef92d.crm.dynamics.com/