Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
LibiadaWeb
Models
Account
UserHelper
C# Class LibiadaWeb.Models.Account.UserHelper
Envelop for some user methods.
Datei anzeigen
Open project: intervals-mining-lab/libiada-web
Public Methods
Method
Description
GetUserId
( ) :
string
Gets id of current user.
IsAdmin
( ) :
bool
Checks if user has admin role.
Method Details
GetUserId()
public
static
method
Gets id of current user.
public
static
GetUserId
( ) :
string
return
string
IsAdmin()
public
static
method
Checks if user has admin role.
public
static
IsAdmin
( ) :
bool
return
bool