BCR.UserDatabase.RemoveUser C# (CSharp) Method

RemoveUser() public static method

public static RemoveUser ( int userid ) : bool
userid int
return bool
        public static bool RemoveUser(int userid)
        {
            int result = Database.Instance.ExecuteNonQuery("DELETE FROM user WHERE id = " + userid + ";");
              return result > 0;
        }