For the complete documentation index, see llms.txt. This page is also available as Markdown.

Section protégée

Protéger des sections en fonction des rôles.

Le cmdlet Protect-UDSection masque son contenu si un utilisateur ne possède 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 ?