Displays the model's role ID as a role name with a tooltip describing the role.
Model Type: int
For information about roles in YetaWF, see the Authorization topic.
[Caption("Limit To Role"), Description("Defines which role must be present for this action to be shown")] [UIHint("YetaWF_Identity_RoleId"), ReadOnly] public int LimitToRole { get; set; }
Allows selection of a role. The model represents a role ID.
Model Type: int
For information about roles in YetaWF, see the Authorization topic.
Name | Type | Default | Description |
---|---|---|---|
ShowDefault | bool | true | Defines whether a "(none)" entry is added with a value of 0. |
[Caption("Limit To Role"), Description("Defines which role must be present for this action to be shown")] [UIHint("YetaWF_Identity_RoleId"), AdditionalMetadata("ShowDefault", true)] public int LimitToRole { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com