C# Class vlko.core.Roots.User

Inheritance: IIdentity
Afficher le fichier Open project: vlko/vlko Class Usage Examples

Méthodes publiques

Méthode Description
IsAdmin ( ) : bool

Determines whether this instance is admin.

IsInRole ( string role ) : bool

Determines whether [is user in role] [the specified role].

Method Details

IsAdmin() public méthode

Determines whether this instance is admin.
public IsAdmin ( ) : bool
Résultat bool

IsInRole() public méthode

Determines whether [is user in role] [the specified role].
public IsInRole ( string role ) : bool
role string The role.
Résultat bool