functions/account-controller/Get-RmmUsers.ps1

function Get-RmmUsers {
    <#
    .SYNOPSIS
    Gets all users
     
    .DESCRIPTION
    Fetches the authentication users records of the authenticated user's account.
 
    .OUTPUTS
    [System.Array] Object containing user data
 
    .EXAMPLE
    $users = Get-RmmUsers
    #>


    return New-RmmApiRequest -method GET -endpoint 'account/users'
}