Protect-UDSection
Hides a section of a dashboard if the user is not part of the specified role.
Last updated
Was this helpful?
Was this helpful?
Required? true
Position? 2
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).PS >Protect-UDSection -Content {
PS > New-UDTypography 'Admins Only'
PS > } -Role @("Administrator")
Protect Section|Hides the section of the dashboard if the user is not an administrator.