Show / Hide Table of Contents

Class UserModel

This class represents a security user within the application.

Inheritance
System.Object
MicroUserModel
MinimalUserModel
UserModel
Inherited Members
MinimalUserModel.Locale
MinimalUserModel.TimeZone
MinimalUserModel.Locked
MinimalUserModel.LockExpirationDate
MicroUserModel.UserId
MicroUserModel.Email
MicroUserModel.FirstName
MicroUserModel.LastName
MicroUserModel.FullName
MicroUserModel.UserName
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vasont.Publisher.Models.Security
Assembly: Vasont.Publisher.Models.dll
Syntax
public class UserModel : MinimalUserModel

Constructors

| Improve this Doc View Source

UserModel()

Initializes a new instance of the UserModel class.

Declaration
public UserModel()
| Improve this Doc View Source

UserModel(String, String)

Initializes a new instance of the UserModel class.

Declaration
public UserModel(string userName, string emailAddress)
Parameters
Type Name Description
System.String userName

Contains the user name of the account.

System.String emailAddress

Contains the e-mail address of the account.

Properties

| Improve this Doc View Source

Abilities

Gets or sets the abilities.

Declaration
public List<string> Abilities { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

The abilities.

| Improve this Doc View Source

Active

Gets or sets a value indicating whether the user account is active.

Declaration
public bool Active { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CreatedBy

Gets or sets the user model for the creator user.

Declaration
public MinimalUserModel CreatedBy { get; set; }
Property Value
Type Description
MinimalUserModel
| Improve this Doc View Source

CreatedDate

Gets or sets the date time when the account was created.

Declaration
public DateTime CreatedDate { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Deletable

Gets or sets a value indicating whether the user can be deleted. Typically set to true if the user model matches the current user. The current user cannot delete themselves.

Declaration
public bool Deletable { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Notes

Gets or sets the user notes.

Declaration
public string Notes { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Roles

Gets or sets a list of associated roles.

Declaration
public List<MinimalRoleModel> Roles { get; set; }
Property Value
Type Description
System.Collections.Generic.List<MinimalRoleModel>
| Improve this Doc View Source

UpdatedBy

Gets or sets the user model for the updating user.

Declaration
public MinimalUserModel UpdatedBy { get; set; }
Property Value
Type Description
MinimalUserModel
| Improve this Doc View Source

UpdatedDate

Gets or sets the date time when the account was last updated.

Declaration
public DateTime UpdatedDate { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

UserType

Gets or sets the user type of the user model.

Declaration
public PublishServerUserType UserType { get; set; }
Property Value
Type Description
PublishServerUserType
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright (c) GlobalLink Vasont