 | IActionRegisterRight Method (Guid, StandardRightKind, Boolean) |
Registers a right to check to know if this action is allowed for current user.
Namespace:
EBP.Api.Interfaces.Menus
Assembly:
EBP.Api.Common (in EBP.Api.Common.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntaxvoid RegisterRight(
Guid rightId,
StandardRightKind kind,
bool isRequired
)
Sub RegisterRight (
rightId As Guid,
kind As StandardRightKind,
isRequired As Boolean
)
Parameters
- rightId
- Type: SystemGuid
The right id. - kind
- Type: EBP.Api.Interfaces.MiscStandardRightKind
The kind to test. - isRequired
- Type: SystemBoolean
if set to true the connected user must have this rigth to allow this action,
if set to false the user can allow to this action if has an other right.
See Also