Skip to content
DocsTry Aspire
DocsTry

withUserName

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

Signature

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

Applies to

This method applies to the following types: