Click or drag to resize

IActionRegisterRight Method (Guid, YesNoRightKind, Boolean)

Registers 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)
Syntax
void RegisterRight(
	Guid rightId,
	YesNoRightKind kind,
	bool isRequired
)

Parameters

rightId
Type: SystemGuid
The right id.
kind
Type: EBP.Api.Interfaces.MiscYesNoRightKind
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