Loading...
Protect sections based on roles.
The Protect-UDSection cmdlet hides it's content if a user does not have the specified roles.
Protect-UDSection
Protect-UDSection -Role @("Administrator") -Content { New-UDTypography -Text 'Only Administrators see this' }