 | IDatabaseCheckRights Method (Guid, YesNoRightKind) |
Checks Yes/No right for the current user
Namespace:
EBP.Api.Interfaces.Database
Assembly:
EBP.Api.Common (in EBP.Api.Common.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntaxbool CheckRights(
Guid rightId,
YesNoRightKind kind
)
Function CheckRights (
rightId As Guid,
kind As YesNoRightKind
) As Boolean
Parameters
- rightId
- Type: SystemGuid
id of the rights to check - kind
- Type: EBP.Api.Interfaces.MiscYesNoRightKind
kind of rights needed
Return Value
Type:
Booleantrue if user has required rights, otherwise false
See Also