Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAdminUser

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
func (ListmonkResource) WithAdminUser(username string) ListmonkResource

Signature

methodWithAdminUserbuilder
Configures the first-run listmonk Super Admin username.
WithAdminUser(username string) ListmonkResource
usernamestringThe value for LISTMONK_ADMIN_USER.
ListmonkResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: