Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ListmonkResource.WithAdminUser

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
type ListmonkResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: