Section protégée
L'applet de commande Protect-UDSection masque son contenu si un utilisateur n'a pas les rôles spécifiés.
Protect-UDSection -Role @("Administrator") -Content {
New-UDTypography -Text 'Only Administrators see this'
}Mis à jour
Ce contenu vous a-t-il été utile ?