internal/autorest/out/auth/Set-DracoonARAuthRecover_Username.ps1

function Set-DracoonARAuthRecover_Username {
<#
.SYNOPSIS
    Recover username
 
.DESCRIPTION
    <h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>&#128640; Since v4.13.0</h3>
 
### Description:
Request an email with the user names of all accounts connected to the email.
 
### Precondition:
Valid email address.
 
### Postcondition:
An email is sent to the provided address, with a list of account user names connected to it.
 
### Further Information:
None.
 
 
.PARAMETER Connection
    Object of Class ARAHConnection, stores the authentication Token and the API Base-URL
 
.EXAMPLE
    PS C:\> Set-DracoonARAuthRecover_Username -Connection $connection
 
    <h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>&#128640; Since v4.13.0</h3>
 
### Description:
Request an email with the user names of all accounts connected to the email.
 
### Precondition:
Valid email address.
 
### Postcondition:
An email is sent to the provided address, with a list of account user names connected to it.
 
### Further Information:
None.
 
 
.LINK
    <unknown>
#>

    [CmdletBinding(DefaultParameterSetName = 'default')]
    param (
        [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, ParameterSetName = 'default')]
        [object]
        $Connection
    )
    process {
        $__mapping = @{
            'Connection' = 'Connection'
        }
        $__body = $PSBoundParameters | ConvertTo-DracoonARHashtable -Include @() -Mapping $__mapping
        $__query = $PSBoundParameters | ConvertTo-DracoonARHashtable -Include @() -Mapping $__mapping
        $__header = $PSBoundParameters | ConvertTo-DracoonARHashtable -Include @() -Mapping $__mapping
        $__path = 'auth/recover_username'
        Invoke-DracoonAPI -Path $__path -Method post -Body $__body -Query $__query -Header $__header -Connection $Connection
    }
}