Share via


AzurePostgresFlexibleServerResource.UserName Property

Definition

Gets the user name for the PostgreSQL server when password authentication is enabled.

public Aspire.Hosting.ApplicationModel.ReferenceExpression? UserName { get; }
member this.UserName : Aspire.Hosting.ApplicationModel.ReferenceExpression
Public ReadOnly Property UserName As ReferenceExpression

Property Value

Remarks

This property returns null when using Entra ID (Azure Active Directory) authentication. When password authentication is enabled, it resolves to the user name parameter value.

Applies to