|
void | Validate (AccessTypeEnum type, long loginId, bool noException) |
| Validates application user access rights to execute the function. More...
|
|
|
abstract string | ObjectNamespace [get] |
|
abstract string | ObjectName [get] |
|
bool | HasAccess [get] |
|
bool | Validated [get] |
|
bool | SkipValidation [get, set] |
|
bool | HasAccess [get] |
|
void PetaPoco.DbAccess.Validate |
( |
AccessTypeEnum |
type, |
|
|
long |
loginId, |
|
|
bool |
noException |
|
) |
| |
Validates application user access rights to execute the function.
- Parameters
-
type | The access type being validated. |
loginId | The login ID of application user making the request. |
noException | If this is switched off, UnauthorizedException is not thrown even when the caller does not have access rights to this function. |
Implements PetaPoco.IDBAccess.
The documentation for this class was generated from the following file:
- C:/Users/nirvan/Desktop/mixerp/0. GitHub/src/Libraries/Logic/PetaPoco/DbAccess.cs