HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

The `AllowedRoles` property for a component definitions lets you control the groups that are allowed to view and select a certain component. You can hide a component completely by setting the `AllowedRoles` property to none, or setting it to a null string which prevents an access check.

The following example shows how to hide or show a certain component, depending on a global setting.