/// <summary>
 /// Make visible to tab of Recrutment if user have access rights.
 /// </summary>
 public void AccessRightForRecrutment()
 {
     if (!RecruitmentRoles.CheckRolesForRecruitmentTab())
     {
         ApplyCssToAccedDeniedMenu(tabRecruitment);
     }
 }
 protected void fnRedirectToPipelineDetails(object sender, EventArgs e)
 {
     if (RecruitmentRoles.CheckRolesForRecruitmentTab())
     {
         Response.Redirect("RecruitmentPipelineDetails.aspx", false);
     }
     else
     {
         Response.Redirect("Home.aspx", false);
     }
 }
    protected void fnRedirectToRecruitmentSummary(object sender, EventArgs e)
    {
        if (RecruitmentRoles.CheckRolesForRecruitmentTab())
        {
            Session[SessionNames.DEPARTMENT_ID_RS]            = null;
            Session[SessionNames.PROJECT_ID_RS]               = null;
            Session[SessionNames.ROLE_RS]                     = null;
            Session[SessionNames.PREVIOUS_SORT_EXPRESSION_RS] = null;
            Session[SessionNames.SORT_DIRECTION_RS]           = null;

            Response.Redirect("RecruitmentSummary.aspx", false);
        }
        else
        {
            Response.Redirect("Home.aspx", false);
        }
    }