C# 클래스 LibiadaWeb.Models.Account.UserHelper

Envelop for some user methods.
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-web

공개 메소드들

메소드 설명
GetUserId ( ) : string

Gets id of current user.

IsAdmin ( ) : bool

Checks if user has admin role.

메소드 상세

GetUserId() 공개 정적인 메소드

Gets id of current user.
public static GetUserId ( ) : string
리턴 string

IsAdmin() 공개 정적인 메소드

Checks if user has admin role.
public static IsAdmin ( ) : bool
리턴 bool