ScientificReport
ScientificReport.BLL.Utils.UserHelpers Class Reference
Collaboration diagram for ScientificReport.BLL.Utils.UserHelpers:
Collaboration graph

Static Public Member Functions

static bool IsAdmin (ClaimsPrincipal user)
 
static bool IsHeadOfDepartment (ClaimsPrincipal user)
 
static bool IsAdminOrHead (ClaimsPrincipal user)
 
static bool IsTeacher (ClaimsPrincipal user)
 

Detailed Description

Definition at line 6 of file UserHelpers.cs.

Member Function Documentation

static bool ScientificReport.BLL.Utils.UserHelpers.IsAdmin ( ClaimsPrincipal  user)
static

Definition at line 8 of file UserHelpers.cs.

Here is the caller graph for this function:

static bool ScientificReport.BLL.Utils.UserHelpers.IsAdminOrHead ( ClaimsPrincipal  user)
static

Definition at line 18 of file UserHelpers.cs.

static bool ScientificReport.BLL.Utils.UserHelpers.IsHeadOfDepartment ( ClaimsPrincipal  user)
static

Definition at line 13 of file UserHelpers.cs.

Here is the caller graph for this function:

static bool ScientificReport.BLL.Utils.UserHelpers.IsTeacher ( ClaimsPrincipal  user)
static

Definition at line 23 of file UserHelpers.cs.


The documentation for this class was generated from the following file: