UnauthorizedAccessModel Class

Dataset invoked when a user attempts to enact an action they're not allowed to do. This is a last-resort failsafe, indicating a potential code issue and/or a hacking attempt.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public sealed class UnauthorizedAccessModel : IHasAccount
Inheritance
Object    UnauthorizedAccessModel
Implements
IHasAccount

Constructors

UnauthorizedAccessModel Constructor for human use

Properties

AccountIdAccountDto that is attached to the item.
IpAddress Location the user enacted the request from.
Method The method being invoked
When When the event took place

Extension Methods

IsHasAccountValid Checks if the account field is properly filled in.
(Defined by ModelValidatorsExtensions)

See Also