pages/identities.ps1

New-UDPage -Name "Identities" -Endpoint {
    New-UDHelmet -Content {
        New-UDHtmlTag -Tag 'title' -Content { "Universal Automation / Identities" }
    }

    New-UDGrid -Title "Identities" -Headers @("Name") -Properties @("Name") -Endpoint {
        Get-UAIdentity | ForEach-Object {
            [PSCustomObject]@{
                Name = New-UDLink -Text $_.Name -Url "/identity/$($_.Id)"
            }
        } | Out-UDGridData
    }
}