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.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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