Shows a list of roles in a grid. The model contains the list of roles.
Model Type: YetaWF.Core.Serializers.SerializableList<YetaWF.Core.Identity.Role>
For information about roles in YetaWF, see the Authorization topic.
[Caption("Two-Step Authentication"), Description("Shows which roles require mandatory two-step authentication")] [UIHint("YetaWF_Identity_RolesSelector"), ReadOnly] public SerializableList<Role> TwoStepAuth { get; set; }
Shows a list of all roles in a grid. Individual roles can be selected/deselected. The model contains the list of selected roles.
Model Type: YetaWF.Core.Serializers.SerializableList<YetaWF.Core.Identity.Role>
For information about roles in YetaWF, see the Authorization topic.
Name | Type | Default | Description |
---|---|---|---|
Header | bool | true | Defines whether the grid header is shown. |
ShowFilter | bool | false | Defines whether the grid filters are shown. |
ExcludeUser2FA | bool? | null | Defines whether the role "User (two-step authentication setup required)" is excluded from the list. |
[Caption("Two-Step Authentication"), Description("Defines which roles require mandatory two-step authentication")] [UIHint("YetaWF_Identity_RolesSelector"), AdditionalMetadata("ExcludeUser2FA", true)] public SerializableList<Role> TwoStepAuth { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com