Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
LibiadaWeb
Models
Account
UserHelper
C# Class LibiadaWeb.Models.Account.UserHelper
Envelop for some user methods.
Afficher le fichier
Open project: intervals-mining-lab/libiada-web
Méthodes publiques
Méthode
Description
GetUserId
( ) :
string
Gets id of current user.
IsAdmin
( ) :
bool
Checks if user has admin role.
Method Details
GetUserId()
public
static
méthode
Gets id of current user.
public
static
GetUserId
( ) :
string
Résultat
string
IsAdmin()
public
static
méthode
Checks if user has admin role.
public
static
IsAdmin
( ) :
bool
Résultat
bool