Skip to content
Docs Try Aspire

withUserName

Function
📦 Aspire.Hosting.PostgreSQL v13.2.0-preview.1.26159.1
interface PostgresServerResource {
// ... omitted for brevity
withUserName(userName: ParameterResource): PostgresServerResource;
}

Signature

method withUserName builder
Configures the PostgreSQL user name
withUserName(userName: ParameterResource): PostgresServerResource
userName ParameterResource
PostgresServerResource

Applies to

This function is an extension method on the following types: