C# Class System.Data.Entity.UserBase

Entity base object for user.
Inheritance: System.Data.Entity.EntityBase, IPassword, IRoleEntity
Afficher le fichier Open project: Kation/ComBoost

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
IsInRole ( object role ) : bool

Ensure this user is belong to a role.

SetPassword ( string password ) : void

Set a new password.

VerifyPassword ( string password ) : bool

Verify a password is equal to this entity.

Method Details

IsInRole() public méthode

Ensure this user is belong to a role.
public IsInRole ( object role ) : bool
role object Role name.
Résultat bool

SetPassword() public méthode

Set a new password.
public SetPassword ( string password ) : void
password string New password.
Résultat void

VerifyPassword() public méthode

Verify a password is equal to this entity.
public VerifyPassword ( string password ) : bool
password string Password to verify.
Résultat bool