KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Client.ORM.User Class Reference

The web ui user More...

Inheritance diagram for KlusterKite.NodeManager.Client.ORM.User:
KlusterKite.NodeManager.Client.ORM.UserDescription KlusterKite.Data.CRUD.IObjectWithId< Guid > KlusterKite.Security.Attributes.IUser

Public Member Functions

bool CheckPassword (string password)
 Checks the user password More...
 
void SetPassword (string password)
 Sets the new password for the user More...
 
IEnumerable< string > GetScope ()
 Gets the list of assigned privileges More...
 
UserDescription GetDescription ()
 Gets the short user description More...
 
- Public Member Functions inherited from KlusterKite.Data.CRUD.IObjectWithId< Guid >
TId GetId ()
 Gets the object id More...
 

Properties

string Password [get, set]
 Gets or sets the password hash More...
 
List< RoleUserRoles [get, set]
 Gets or sets the list of roles assigned to this user More...
 
Guid Uid = new List<RoleUser>() [get, set]
 Gets or sets the user uid More...
 
- Properties inherited from KlusterKite.NodeManager.Client.ORM.UserDescription
DateTimeOffset ActiveTill [get, set]
 Gets or sets a date, till which user is active. After this date the user will be blocked. Null for unlimited work. More...
 
DateTimeOffset BlockedTill [get, set]
 Gets or sets a date, till which user is temporary blocked. After this date the user will be blocked. Null for unlimited work. More...
 
bool IsBlocked [get, set]
 Gets or sets a value indicating whether current user is currently manually blocked More...
 
bool IsDeleted [get, set]
 Gets or sets a value indicating whether current user is currently manually blocked More...
 
string Login [get, set]
 Gets or sets the user login More...
 
- Properties inherited from KlusterKite.Security.Attributes.IUser
string UserId [get]
 Gets the string representation of the user id (login or other representation) More...
 

Detailed Description

The web ui user

Definition at line 27 of file User.cs.

Member Function Documentation

◆ CheckPassword()

bool KlusterKite.NodeManager.Client.ORM.User.CheckPassword ( string  password)

Checks the user password

Parameters
passwordThe password to check
Returns
Whether the password is correct

Definition at line 54 of file User.cs.

◆ GetDescription()

UserDescription KlusterKite.NodeManager.Client.ORM.User.GetDescription ( )

Gets the short user description

Returns
The user description

Definition at line 88 of file User.cs.

◆ GetScope()

IEnumerable<string> KlusterKite.NodeManager.Client.ORM.User.GetScope ( )

Gets the list of assigned privileges

Returns
The list of privileges

Definition at line 72 of file User.cs.

◆ SetPassword()

void KlusterKite.NodeManager.Client.ORM.User.SetPassword ( string  password)

Sets the new password for the user

Parameters
passwordThe new password

Definition at line 63 of file User.cs.

Property Documentation

◆ Password

string KlusterKite.NodeManager.Client.ORM.User.Password
getset

Gets or sets the password hash

Definition at line 33 of file User.cs.

◆ Roles

List<RoleUser> KlusterKite.NodeManager.Client.ORM.User.Roles
getset

Gets or sets the list of roles assigned to this user

Definition at line 39 of file User.cs.

◆ Uid

Guid KlusterKite.NodeManager.Client.ORM.User.Uid = new List<RoleUser>()
getset

Gets or sets the user uid

Definition at line 47 of file User.cs.


The documentation for this class was generated from the following file: