Search Results for

    Show / Hide Table of Contents

    Class UserViewModel

    View model for the user entity

    Inheritance
    System.Object
    UserViewModel
    Implements
    IDraggableUser
    Namespace: Simplic.User.UI
    Assembly: Simplic.User.UI.dll
    Syntax
    public class UserViewModel : ViewModelBase, IDraggableUser

    Constructors

    | Improve this Doc View Source

    UserViewModel()

    Default constructor for the entity

    Declaration
    public UserViewModel()
    | Improve this Doc View Source

    UserViewModel(User)

    Copy constructor

    Declaration
    public UserViewModel(User user)
    Parameters
    Type Name Description
    User user

    Properties

    | Improve this Doc View Source

    ApiKey

    API key

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

    Email

    User email

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

    FirstName

    User first name

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

    Groups

    User groups collection

    Declaration
    public ObservableCollection<GroupViewModel> Groups { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<GroupViewModel>
    | Improve this Doc View Source

    IsActive

    User active flag

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

    IsADUser

    User AD flag

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

    KeepLoggedIn

    Keep logged in flag

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

    LanguageID

    Language Id

    Declaration
    public int LanguageID { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    LastName

    User last name

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

    Organizations

    User organizatiobs collection

    Declaration
    public ObservableCollection<OrganizationViewModel> Organizations { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<OrganizationViewModel>
    | Improve this Doc View Source

    Password

    User password

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

    Phone

    User phone

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

    RemoveGroupCommand

    Remove group command

    Declaration
    public ICommand RemoveGroupCommand { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    RemoveOrganizationCommand

    Remove organization command

    Declaration
    public ICommand RemoveOrganizationCommand { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    User

    Current user

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

    UserId

    User Id

    Declaration
    public int UserId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    UserName

    User name

    Declaration
    public string UserName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Join(ViewModelBase)

    Joining user to a group or organization. Inherited from IDraggableUser

    Declaration
    public void Join(ViewModelBase vm)
    Parameters
    Type Name Description
    ViewModelBase vm
    | Improve this Doc View Source

    SaveAll()

    Save user group and tenants changes

    Declaration
    public void SaveAll()
    | Improve this Doc View Source

    SavePassword()

    Save user password

    Declaration
    public void SavePassword()
    | Improve this Doc View Source

    SaveUser()

    Save user

    Declaration
    public void SaveUser()

    Implements

    IDraggableUser
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx