Skip to content
Docs Try Aspire
Docs Try

withUserName

Method
📦 Aspire.Hosting.PostgreSQL v13.4.0
interface PostgresServerResource {
// ... omitted for brevity
withUserName(userName: ParameterResource): PostgresServerResource;
}

Signature

method withUserName builder
Configures the user name that the PostgreSQL resource is used.
withUserName(userName: ParameterResource): PostgresServerResource
userName ParameterResource
PostgresServerResource

Applies to

This method applies to the following types: