AzurePostgresFlexibleServerResource.UserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.