C# Class LibiadaWeb.Models.Account.UserHelper

Envelop for some user methods.
Mostrar archivo 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