internal static void Add(t_Authorization mAuth, string OperateUserID) { bAuth.Add(mAuth); //TODO:日志记录 }
internal static void Del(t_Authorization mAuth) { bAuth.Delete(mAuth.UserID, mAuth.iUserLevel); //Todo:LOG }
public void DelUserAuth(string OperateUserID, t_Authorization mAuth) { if (!Func.tAuthorization.IsValidUser(OperateUserID)) throw new ArgumentException("用户权限不足!"); Func.tAuthorization.Del(mAuth); }