Class UserChange
- Namespace
- ATAS.DataFeedsCore
- Assembly
- ATAS.DataFeedsCore.dll
Record of an administrator's change of a user's access expiration date.
public class UserChange
- Inheritance
-
objectUserChange
- Extension Methods
Constructors
UserChange()
public UserChange()
Properties
Admin
User who made the change; setting it also updates AdminId.
[Browsable(false)]
public User Admin { get; set; }
Property Value
AdminId
Identifier of Admin; 0 when not set.
[Browsable(false)]
public long AdminId { get; set; }
Property Value
- long
ChangeType
Kind of the change.
public UserChangeTypes ChangeType { get; set; }
Property Value
EntityType
Always UserChange.
[Browsable(false)]
public EntityType EntityType { get; }
Property Value
Id
Database identifier of the record.
[Browsable(false)]
public long Id { get; set; }
Property Value
- long
Time
Time of the change, in UTC.
[Browsable(false)]
public DateTime Time { get; set; }
Property Value
- DateTime
User
User whose expiration date was changed; setting it also updates UserId.
public User User { get; set; }
Property Value
UserId
Identifier of User; 0 when not set.
[Browsable(false)]
public long UserId { get; set; }
Property Value
- long
Value
Period by which the expiration date was changed, as an invariant System.TimeSpan string.
public string Value { get; set; }
Property Value
- string
Methods
ToString()
Returns the user, the change type and the value.
public override string ToString()
Returns
- string
A string such as
"user (role) ExtendExpirationPeriod for 30.00:00:00".