private int GetUserAccessFlageByUserandForumID(ForumUser user, int forumID)
 {
     if (gms.GetUserGroup(user.Id).Count != 0)
     {
         int user_group_ID      = gms.GetGroupMemberByUserID(user.Id).GroupId;
         int user_AccessMask_ID = fas.GetForumAccess(forumID, user_group_ID).AccessMaskId;
         int user_AccessFlag    = ams.GetAccessMaskbyID(user_AccessMask_ID).AccessFlag;
         return(user_AccessFlag);
     }
     return(0);
 }