示例#1
0
    public void VideosAccessValidation()
    {
        int CurrentUserID = GetSessionUserID();

        try
        {
            if (CurrentUserID != 1)
            {
                string exist = BLL_LMS_Training.Validate_SeaStaff(Convert.ToInt32(Session["USERID"].ToString()));
                if (exist == "0")
                {
                    UserAccessValidation();
                }
            }
        }
        catch (Exception)
        {
        }
    }