Table of Contents

Class NotificationUserModifiedData

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

A class for notifying of changes to a User by an administrator User. Provides information about who was changed, who did the changes, what type of changes happened, and any values that were changed if applicable. Matching NotificationType is UserModified. Notifications of this type are only delivered to SystemNotice subscribers who have valid Group scope and SecurityIdentifier.

public class NotificationUserModifiedData : NotificationData, IEntity, IComparable, IIdentifiable
Inheritance
NotificationUserModifiedData
Implements
Inherited Members

Constructors

NotificationUserModifiedData(Id?, UserModifiedInfo?, UserModification)

Initializes a new instance of the NotificationUserModifiedData class.

public NotificationUserModifiedData(Id? id, UserModifiedInfo? userModifiedInfo, UserModification userModification)

Parameters

id Id

The ID for the entity.

userModifiedInfo UserModifiedInfo

Additional data about the User that was modified and the User responsible for the modification.

userModification UserModification

The modification action performed.

NotificationUserModifiedData(NotificationUserModifiedData)

Initializes a new instance of the NotificationUserModifiedData class.

public NotificationUserModifiedData(NotificationUserModifiedData userModifiedData)

Parameters

userModifiedData NotificationUserModifiedData

Another instance to copy all properties from.

NotificationUserModifiedData(UserModifiedInfo, UserModification)

Initializes a new instance of the NotificationUserModifiedData class.

public NotificationUserModifiedData(UserModifiedInfo userModifiedInfo, UserModification userModification)

Parameters

userModifiedInfo UserModifiedInfo

Additional data about the User that was modified and the User responsible for the modification.

userModification UserModification

The modification action performed.

Properties

ModificationAction

Gets the type of UserModification that occurred.

public UserModification ModificationAction { get; }

Property Value

UserModification

The type of UserModification that occurred.

UserModifiedInfo

Gets additional info about the ModificationAction stored in a data class. This info is JSON-serialized and stored in the "sInfo" column of the NotificationData table.

public UserModifiedInfo UserModifiedInfo { get; }

Property Value

UserModifiedInfo

Additional info about the ModificationAction stored in a data class. This info is JSON-serialized and stored in the "sInfo" column of the NotificationData table.

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.