Share via


MongoDBServerResource.UserNameReference Property

Definition

Gets a reference to the user name for the MongoDB server.

public Aspire.Hosting.ApplicationModel.ReferenceExpression UserNameReference { get; }
member this.UserNameReference : Aspire.Hosting.ApplicationModel.ReferenceExpression
Public ReadOnly Property UserNameReference As ReferenceExpression

Property Value

Remarks

Returns the user name parameter if specified, otherwise returns the default user name "admin".

Applies to