Table of Contents

Class UserRole

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

Assigns a Role to a User

public class UserRole : ModelBase, IAuditable
Inheritance
UserRole
Implements
Inherited Members

Properties

EffectiveDate

Start of when this assignment is valid. See also ExpiryDate

public DateTime? EffectiveDate { get; set; }

Property Value

DateTime?

ExpiryDate

End of when this assignment is valid. See also EffectiveDate

public DateTime? ExpiryDate { get; set; }

Property Value

DateTime?

IgnoreSecurityStamp

Indicates that the User Security Stamp should not be updated when this user role is added or updated

[NotMapped]
public bool IgnoreSecurityStamp { get; set; }

Property Value

bool

Role

Direct reference to the Role object. TODO: todoc - is this always populated?

public Role Role { get; set; }

Property Value

Role

RoleId

Reference to the Role which the User receives

public int RoleId { get; set; }

Property Value

int

User

Direct reference to the User object. TODO: todoc - is this always populated?

public User User { get; set; }

Property Value

User

UserId

Reference to the User who receives this Role assignment.

public int UserId { get; set; }

Property Value

int

UserRoleId

Id of this assignment

public int UserRoleId { get; set; }

Property Value

int