Role Based Access
Role based access for dashboards.
Last updated
Was this helpful?
Role based access for dashboards.
Last updated
Was this helpful?
Was this helpful?
New-UDPage -Role 'Administrators' -Content {
New-UDTypography -Text 'Admins only'
}if ($Roles -contains "Administrator") {
New-UDButton -Text 'Restart Server' -OnClick {
Restart-Computer
}
}